.managed-recommendations{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.managed-recommendation{padding:24px;border:1px solid #d8dedb;border-radius:18px;background:white}.managed-preview{background:#fff4d8;padding:20px;border-radius:12px}.player iframe{width:100%;height:100%;position:absolute;inset:0;border:0}.chapter{background:#f1f5f3;border:1px solid #d4dfd8;border-radius:8px;padding:12px 18px;margin:6px 0;text-align:left;cursor:pointer;color:#294a3b}.section>p{max-width:850px;line-height:1.8}#save-lecture{padding:12px 18px;border-radius:10px;border:1px solid #d4dfd8;background:white;cursor:pointer}@media(max-width:700px){.managed-recommendations{grid-template-columns:1fr}}
/* Managed lecture rhythm: clear heading, player and compact continuation cards. */
body:has(.lesson-heading) main.wrap{padding-top:24px;padding-bottom:48px}
.lesson-heading{margin:24px 0 28px;max-width:1000px}
.lesson-heading h1{line-height:1.16;letter-spacing:-.035em;margin-bottom:20px;font-size:clamp(28px,3.5vw,46px)}
.lesson-heading .eyebrow{margin-bottom:16px}.lesson-author{margin-bottom:20px}
#save-lecture{font:inherit;font-size:14px;min-height:44px;color:var(--coral)}
#save-status:empty{display:none}#save-status:not(:empty){margin:12px 0 0;font-size:13px;line-height:1.6}
#video-status{margin:16px 0 0;padding:14px 18px;border-radius:12px;background:#f5f2ee;color:#66717e;font-size:14px;line-height:1.6}
body:has(.lesson-heading) main>.section{padding-top:32px;padding-bottom:8px}
body:has(.lesson-heading) main>.section:empty{display:none}
body:has(.lesson-heading) main>.section h2{font-size:clamp(24px,2.5vw,30px);line-height:1.3;margin-bottom:18px}
.managed-recommendations{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:stretch}
.managed-recommendation{min-width:0;display:flex;flex-direction:column;padding:24px;border-color:#e2ddd8}
.managed-recommendation h3{font-size:20px;line-height:1.4;margin-bottom:14px;overflow-wrap:anywhere}
.managed-recommendation p{font-size:14px;line-height:1.7;color:var(--muted);margin-bottom:20px}
.managed-recommendation>a:last-child{margin-top:auto;padding-top:8px;font-size:14px;font-weight:700;color:var(--coral)}
.player-start>span{padding:16px 24px;text-align:center;font-size:clamp(16px,2vw,24px);font-weight:700}
.lecture-discussions{margin-top:24px;border-top:1px solid #e2ddd8}
@media(max-width:700px){.managed-recommendations{grid-template-columns:1fr}.managed-recommendation{padding:20px}.lesson-heading{margin-top:20px}.lesson-author{font-size:17px}}

/* Lecture context and author share one compact reading area. */
.lecture-overview{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:32px;margin:36px 0;align-items:start}
.lecture-overview>.section{padding:0}.lecture-overview h2{font-size:26px;line-height:1.3;margin:0 0 18px}.lecture-overview p{font-size:16px;line-height:1.75}
.lecture-author-panel{padding:24px;border:1px solid #e2ddd8;border-radius:20px;background:#f4f1ed;display:grid;grid-template-columns:88px minmax(0,1fr);gap:20px}
.lecture-author-panel img{width:88px;height:88px;object-fit:cover;border-radius:14px}.lecture-author-panel .eyebrow{font-size:11px;margin-bottom:10px;display:block}.lecture-author-panel h2{font-size:21px;margin:0 0 12px}.lecture-author-panel p{font-size:14px;margin:0 0 16px}.lecture-author-more{font-size:14px;font-weight:700;color:var(--coral)}
@media(max-width:800px){.lecture-overview{grid-template-columns:1fr;gap:24px}.lecture-author-panel{padding:20px}}
@media(max-width:400px){.lecture-author-panel{grid-template-columns:1fr}}

/* Editorial lecture treatment with warm reading panels. */
body:has(.lecture-stage){background:#f7f5f1}
.lecture-stage{padding:0;background:transparent;color:var(--ink)}
.lecture-stage .lesson-heading{margin:0 0 28px;max-width:100%}
.lecture-stage .lesson-heading h1{max-width:1050px;font-size:clamp(27px,3.3vw,42px);color:var(--ink)}
.lecture-stage .eyebrow{color:var(--coral)}.lecture-stage .lesson-author{color:var(--muted);font-size:17px;margin-bottom:18px}
.lecture-stage #save-lecture{background:#fff;border-color:#dfd9d2;color:var(--coral)}.lecture-stage #save-lecture:hover{background:#f4ede7}
.lecture-stage .player{border:1px solid #ffffff25;border-radius:18px;max-width:940px;margin:0 auto;background:#0b1825}
.lecture-stage .player-start>span{background:#102438dc;border:1px solid #ffffff26;border-radius:14px;font-size:18px;margin:20px}
body:has(.lecture-stage) #video-status:empty{display:none}
body:has(.lecture-stage) .lecture-overview{gap:24px;align-items:stretch}
body:has(.lecture-stage) .lecture-overview>.section{padding:30px;background:#fff;border:1px solid #e7e1d9;border-radius:22px;border-top:4px solid #aa544e}
body:has(.lecture-stage) .lecture-overview>.section>p:last-child{margin-bottom:0}
body:has(.lecture-stage) .lecture-author-panel{background:#ece8e1;border:0;padding:30px;grid-template-columns:100px minmax(0,1fr)}
body:has(.lecture-stage) .lecture-author-panel img{width:100px;height:120px}
body:has(.lecture-stage) .lecture-discussions{background:#eaf0ed;border:0;border-radius:24px;padding:28px;margin-top:36px}
body:has(.lecture-stage) .managed-recommendation{border-top:3px solid #c8d4cf;box-shadow:0 4px 16px #14283f04}
@media(max-width:700px){.lecture-stage{padding:0}.lecture-stage .lesson-heading h1{font-size:28px}.lecture-stage .player-start>span{font-size:14px;padding:12px}.lecture-stage .player{border-radius:12px}body:has(.lecture-stage) .lecture-overview>.section,body:has(.lecture-stage) .lecture-author-panel,body:has(.lecture-stage) .lecture-discussions{padding:22px}body:has(.lecture-stage) .lecture-author-panel{grid-template-columns:72px minmax(0,1fr);gap:16px}body:has(.lecture-stage) .lecture-author-panel img{width:72px;height:88px}}

/* Compact lecture heading, with the series part outside the title. */
body:has(.usc-context-nav) .lecture-catalog-back{display:none}
.lecture-catalog-back{font-size:14px;margin:0 0 20px}
.lesson-badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.lesson-badges span{padding:5px 12px;border-radius:7px;background:#eae5df;color:#645c55;font-size:12px;font-weight:700}
.lesson-badges span:first-child{background:#f0dfda;color:#934a43}
.lecture-stage .lesson-heading h1{font-size:clamp(27px,3vw,38px);line-height:1.22;max-width:1050px;text-wrap:balance;margin-bottom:24px}
.lesson-heading-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #e1dcd5}
.lecture-stage .lesson-heading-actions .lesson-author{margin:0;font-size:16px}
.lesson-heading-actions #save-lecture{flex-shrink:0}
@media(max-width:560px){.lesson-heading-actions{align-items:flex-start;flex-direction:column}.lecture-stage .lesson-heading h1{font-size:27px}.lesson-badges{margin-bottom:16px}}

.lesson-heading h1 .lesson-part{white-space:nowrap;color:var(--coral)}
.same-teacher-lectures{margin-top:32px;border-top:1px solid #e2ddd8}
.same-teacher-more{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:20px;font-size:14px;font-weight:700;color:var(--coral)}
.managed-recommendation .same-teacher-meta{font-size:12px;margin-bottom:12px;color:#7b655b}
/* A distinct author collection between the overview and learning recommendations. */
body:has(.lesson-heading) main .same-teacher-lectures{
  position:relative;margin:28px 0 36px;padding:28px;
  background:#eee7df;border:1px solid #e0d3c7;border-top:4px solid #a64f4b;border-radius:22px;
}
body:has(.lesson-heading) main .same-teacher-lectures>h2{
  color:#172638;font-size:clamp(23px,2.5vw,29px);margin:0 0 22px;line-height:1.3;
}
.same-teacher-lectures .managed-recommendation{
  background:#fffdf9;border:1px solid #e0d5cb;border-radius:16px;box-shadow:none;padding:24px;
}
.same-teacher-lectures .managed-recommendation h3{font-size:19px}
.same-teacher-lectures .same-teacher-more{padding-top:18px;border-top:1px solid #d9c9bb}
.same-teacher-lectures .same-teacher-more a{display:inline-flex;align-items:center;min-height:44px}
.same-teacher-lectures a:hover{text-decoration:underline;text-underline-offset:4px}
body:has(.lesson-heading) main .same-teacher-lectures.wrap{margin-left:auto;margin-right:auto}
@media(max-width:700px){body:has(.lesson-heading) main .same-teacher-lectures{padding:22px 18px;margin:24px 0 28px}.same-teacher-lectures .managed-recommendation{padding:20px}}
.managed-recommendation .recommendation-authors{font-size:13px;line-height:1.6;color:#8d4944;font-weight:600;margin:0 0 16px}
.lecture-record-info{font-size:13px;line-height:1.6;color:#73716c;margin:0 0 20px}.lecture-record-info a{text-decoration:underline;text-underline-offset:3px}
.lecture-series{padding:18px 20px;margin:0 0 18px;background:#eee7df;border-radius:14px;border:1px solid #e0d3c7}
.lecture-series>strong{display:block;font-size:13px;margin-bottom:12px;color:#655d55}
.lecture-series-links{display:flex;gap:8px;flex-wrap:wrap}.lecture-series-links a{display:flex;align-items:center;min-height:44px;padding:9px 16px;border:1px solid #d9cabe;border-radius:8px;background:#fffdf9;font-size:14px;font-weight:600}.lecture-series-links a[aria-current=page]{background:#a64f4b;border-color:#a64f4b;color:white}.lecture-series-links a:hover{border-color:#a64f4b}
@media(max-width:560px){.lecture-series{padding:16px}.lecture-series-links a{flex:1 1 auto;justify-content:center;text-align:center}.lecture-record-info{font-size:12px}}

.lecture-video-parts{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.lecture-video-parts button{padding:10px 16px;border:1px solid #d8dfe5;border-radius:10px;background:white;cursor:pointer}.lecture-video-parts button[aria-pressed="true"]{background:#a84d48;color:white;border-color:#a84d48}

.lecture-preview-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 16px;padding:16px;background:#f7eee8;border-radius:14px}.lecture-preview-actions button{padding:12px 16px;border:1px solid #d9c7bd;border-radius:10px;background:white;cursor:pointer;font:inherit}.lecture-preview-actions button:first-child{background:#a84d48;color:white;border-color:#a84d48}.lecture-preview-actions a{margin-left:auto}.lecture-video-parts[hidden]{display:none}

.lecture-provider{margin:32px 0;padding:28px 32px;background:#f5f0e9;border:1px solid #e4d9cc;border-radius:20px}.lecture-provider h2{font-size:22px;line-height:1.35;max-width:780px;margin:8px 0 16px}.lecture-provider p{max-width:780px;font-size:15px;color:#647079;line-height:1.7;margin:0 0 12px}.lecture-provider .button{margin-top:8px;font-size:14px;border:1px solid #e3d1c4;background:#faf6f1;color:#a64f49;padding:12px 18px;min-height:44px}@media(max-width:600px){.lecture-provider{padding:22px 20px}.lecture-provider h2{font-size:20px}}

/* Keep partner attribution separate from the lesson and lecturer columns. */
.lecture-overview>*{min-width:0}
.lecture-overview>.lecture-author-panel{grid-column:2;grid-row:1}
.lecture-overview>.lecture-provider{grid-column:1 / -1;margin:0;order:3}
.lecture-overview>.section{grid-column:1}
body:has(.lecture-stage) .lecture-author-panel:not(:has(>img)){grid-template-columns:minmax(0,1fr)}
.lecture-overview .lecture-provider .eyebrow{font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--coral);margin-bottom:10px}
.lecture-overview .lecture-provider h2{font-size:22px}
.player-start{gap:12px;padding:20px}
.player-start .button,.player-start button{max-width:100%;text-align:center;justify-content:center}
@media(max-width:800px){.lecture-overview>.lecture-author-panel{grid-column:1;grid-row:auto}.lecture-overview>.lecture-provider{grid-column:1}.lecture-overview .lecture-provider h2{font-size:20px}}
.lecture-overview>.section:has(a[href^="equipment-model.html"]){grid-column:1 / -1}
.lecture-provider .button{display:inline-flex;width:fit-content;max-width:100%;align-items:center;justify-content:center}

/* Compact spacing above managed lecture players. */
body:has(.lecture-stage)>.usc-context-nav{padding-top:6px;padding-bottom:6px}
body:has(.lecture-stage) main.wrap{padding-top:12px}
.lecture-stage .lesson-heading{margin-bottom:16px}
.lecture-stage .lesson-badges{margin-bottom:12px}
.lecture-stage .lesson-heading h1{margin-top:0;margin-bottom:16px}
.lecture-stage .lesson-heading-actions{padding:10px 0}
.lecture-stage .lecture-series{padding:14px 18px;margin-bottom:12px}
.lecture-stage .lecture-series>strong{margin-bottom:8px}
@media(max-width:560px){body:has(.lecture-stage) main.wrap{padding-top:8px}.lecture-stage .lesson-heading-actions{gap:10px}.lecture-stage .lecture-series{padding:12px}.lecture-stage .lesson-heading{margin-bottom:12px}}

.lecture-provider-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px}.lecture-provider-actions .button{margin-top:0}.lecture-provider-profile{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:12px 18px;border:1px solid #e3d1c4;border-radius:12px;font-size:14px;font-weight:800;color:#a64f49;background:#fff;text-align:center}

/* Clear, compact links to equipment and lecture discussion. */
.lecture-equipment{padding:24px!important;margin:24px 0!important;border-top:0!important;border:1px solid #e2ddd7;border-radius:18px;background:#fff}
.lecture-equipment h2{font-size:24px;margin:0 0 16px}
.lecture-equipment p{margin:10px 0}
.lecture-equipment a,.lecture-discussions>p>a,.lecture-discussions>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #d8dfe1;border-radius:12px;background:#f1f5f5;color:#24434e;font-weight:700;text-decoration:none;box-shadow:none}
.lecture-equipment a:hover,.lecture-discussions a:hover{background:#e7eeee}
#lecture-discussions{padding:24px!important;margin:24px 0!important;border-top:0!important;border:1px solid #d8dfe1;border-radius:18px;background:#fff}
#lecture-discussions h2{font-size:26px;margin:0 0 12px}
@media(max-width:620px){.lecture-equipment,#lecture-discussions{padding:20px!important}.lecture-equipment a{width:100%;box-sizing:border-box}}

#lecture-discussions a[href="subscribe.html"]{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid #d8dfe1;border-radius:12px;background:#f1f5f5;color:#24434e;font-weight:700;text-decoration:none;box-shadow:none}#lecture-discussions a[href="subscribe.html"]:hover{background:#e7eeee}
