.crs-hero,.crs-course-hero{display:flex;justify-content:space-between;gap:28px;align-items:flex-start;margin-bottom:22px;padding:28px}.crs-hero h1,.crs-course-hero h1{margin:8px 0 10px}.crs-hero p,.crs-course-hero p{max-width:850px;margin:0;color:var(--muted,#657085)}.crs-section{margin-top:28px}.crs-head{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:18px}.crs-head h2,.crs-head h3{margin:6px 0 0}.crs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}.crs-card{display:flex;flex-direction:column;min-height:250px;padding:22px}.crs-card h3{margin:14px 0 8px}.crs-card p{flex:1;color:var(--muted,#657085)}.crs-card small,.crs-muted{color:var(--muted,#657085)}.crs-card-top,.crs-kicker,.crs-meta,.crs-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.crs-card-top{justify-content:space-between}.crs-actions{margin-top:14px}.crs-panel{padding:24px;margin:20px 0}.crs-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.crs-form label,.crs-inline-form label{display:flex;flex-direction:column;gap:7px}.crs-form .wide{grid-column:1/-1}.crs-form input,.crs-form textarea,.crs-form select,.crs-inline-form input,.crs-inline-form select{width:100%}.crs-form label>span,.crs-inline-form label>span{font-weight:650}.crs-form small{color:var(--muted,#657085)}.crs-form .check{flex-direction:row;align-items:center;gap:8px}.crs-form .check input{width:auto}.crs-form-compact{margin-top:18px;padding-top:18px;border-top:1px solid rgba(127,127,127,.2)}.crs-inline-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.crs-inline-form .grow{flex:1;min-width:250px}.crs-alert{padding:14px 16px;border-radius:12px;background:rgba(90,120,255,.1);margin:14px 0}.crs-alert.err{background:rgba(220,60,70,.1);color:#a5202c}.crs-progress{height:8px;background:rgba(127,127,127,.16);border-radius:999px;overflow:hidden;margin:10px 0}.crs-progress i{display:block;height:100%;background:currentColor;border-radius:999px}.crs-file,.crs-test-row,.crs-lesson-row,.crs-view-lesson,.crs-view-test{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid rgba(127,127,127,.18);border-radius:14px;margin:8px 0}.crs-file>span:nth-child(2),.crs-test-row>span:nth-child(2),.crs-lesson-row>span:nth-child(2),.crs-view-lesson>div,.crs-view-test>div{flex:1;min-width:0}.crs-file strong,.crs-file small,.crs-test-row strong,.crs-test-row small,.crs-lesson-row strong,.crs-lesson-row small,.crs-view-lesson strong,.crs-view-lesson small,.crs-view-test strong,.crs-view-test small{display:block}.crs-file small,.crs-test-row small,.crs-lesson-row small,.crs-view-lesson small,.crs-view-test small{margin-top:3px;color:var(--muted,#657085)}.crs-file-link{text-decoration:none;color:inherit}.crs-section-block,.crs-view-section{padding:16px;border:1px solid rgba(127,127,127,.18);border-radius:16px;margin:14px 0}.crs-section-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:8px}.crs-section-title small{display:block;color:var(--muted,#657085);margin-top:4px}.crs-move{display:flex;gap:6px}.crs-course-hero{align-items:center}.crs-hero-side{min-width:180px;text-align:right}.crs-percent{font-size:34px}.crs-meta{margin-top:16px;color:var(--muted,#657085)}.crs-prose{line-height:1.72;white-space:normal}.crs-lead{font-size:1.08rem;line-height:1.65}.crs-lesson-text{font-size:1.03rem}.crs-video{position:relative;padding-top:56.25%;margin:18px 0;border-radius:16px;overflow:hidden;background:#000}.crs-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.crs-complete,.crs-complete-action,.crs-cta{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:24px;margin:20px 0}.crs-complete{border:1px solid rgba(45,170,110,.3)}.crs-empty{padding:18px;color:var(--muted,#657085)}.crs-status-icon,.crs-num{font-size:20px}.crs-view-section h3{margin:0 0 10px}.crs-view-section>p{color:var(--muted,#657085)}
@media(max-width:760px){.crs-hero,.crs-course-hero,.crs-complete,.crs-complete-action,.crs-cta{flex-direction:column}.crs-hero-side{text-align:left;width:100%}.crs-form{grid-template-columns:1fr}.crs-form .wide{grid-column:auto}.crs-inline-form{align-items:stretch;flex-direction:column}.crs-lesson-row,.crs-view-lesson,.crs-view-test,.crs-test-row{align-items:flex-start;flex-wrap:wrap}.crs-actions{width:100%}}
.crs-subhead{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:10px}.crs-subhead>div{display:flex;flex-direction:column;gap:4px}.crs-subhead>div>span{font-weight:650}.crs-subhead small{color:var(--muted,#657085)}.crs-link-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto;gap:10px;align-items:center;margin:10px 0}.crs-link-row input{width:100%}.crs-link-video{margin:14px 0 22px}.crs-link-video>strong{display:block;margin-bottom:8px}.crs-inline-form small{color:var(--muted,#657085)}
@media(max-width:760px){.crs-subhead{align-items:stretch;flex-direction:column}.crs-link-row{grid-template-columns:1fr}.crs-link-row .crs-remove-link{justify-self:start}}

/* Public course outline, 2026-10-26: avoid one giant GPU-composited card on iOS.
   Each native <details> is a separate short box; titles are visible without JS. */
.crs-curriculum-header{margin-bottom:12px}
.crs-curriculum-header .crs-head{margin-bottom:0}
.crs-curriculum-count{color:var(--muted,#657085);white-space:nowrap}
.crs-curriculum-hint{margin:10px 0 0;color:var(--muted,#657085);font-size:.92rem}
.crs-curriculum{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0 0 22px;min-width:0}
.crs-curriculum .crs-course-unit{
  display:block;min-width:0;margin:0;padding:0;
  background:var(--card,#fff);color:var(--text,#172235);
  border:1px solid var(--line,rgba(127,127,127,.18));border-radius:18px;
  box-shadow:0 4px 16px rgba(15,23,42,.05);
  overflow:visible;
}
.crs-course-unit>.crs-unit-summary{
  display:flex;gap:12px;align-items:center;justify-content:space-between;
  padding:17px 20px;cursor:pointer;list-style:none;min-width:0;
  -webkit-tap-highlight-color:transparent;
}
.crs-course-unit>.crs-unit-summary::-webkit-details-marker{display:none}
.crs-course-unit>.crs-unit-summary::marker{content:""}
.crs-course-unit>.crs-unit-summary:focus-visible{outline:3px solid var(--primary,#7c5cff);outline-offset:3px;border-radius:16px}
.crs-course-unit .crs-unit-summary-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.crs-course-unit .crs-unit-summary-copy strong{
  display:block;line-height:1.35;font-size:1.03rem;
  overflow-wrap:anywhere;word-break:normal;
}
.crs-course-unit .crs-unit-summary-copy small{
  display:block;font-size:.9rem;line-height:1.4;
  color:var(--muted,#657085);overflow-wrap:anywhere;
}
.crs-course-unit .crs-unit-summary-copy .crs-unit-count{font-size:.78rem;font-weight:700}
.crs-course-unit .crs-unit-chevron{
  width:12px;height:12px;flex:0 0 12px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);transition:transform .2s ease;
  opacity:.65;margin:0 5px 5px 0;
}
.crs-course-unit[open]>.crs-unit-summary .crs-unit-chevron{transform:rotate(225deg);margin:6px 5px 0 0}
.crs-course-unit[open]>.crs-unit-summary{border-bottom:1px solid var(--line,rgba(127,127,127,.18))}
.crs-course-unit>.crs-unit-body{padding:7px 18px 15px;min-width:0}
.crs-course-unit .crs-view-lesson,.crs-course-unit .crs-view-test{
  min-width:0;background:var(--nested-bg,rgba(127,127,127,.035));
  box-shadow:none;overflow-wrap:anywhere;
}
.crs-course-unit .crs-view-lesson>div,.crs-course-unit .crs-view-test>div{min-width:0}
@media(max-width:760px){
  .crs-curriculum-header{padding:18px;margin-bottom:12px}
  .crs-curriculum-header .crs-head{display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px 14px}
  .crs-curriculum-count{white-space:normal;font-size:.9rem}
  .crs-curriculum{gap:10px}
  .crs-course-unit>.crs-unit-summary{padding:14px;gap:9px}
  .crs-course-unit>.crs-unit-body{padding:5px 10px 11px}
  .crs-course-unit .crs-unit-summary-copy strong{font-size:1rem}
  .crs-course-unit .crs-unit-summary-copy small{font-size:.86rem}
  .crs-course-unit .crs-view-lesson,.crs-course-unit .crs-view-test{padding:11px;gap:8px;max-width:100%}
  .crs-course-unit .crs-view-lesson .btn,.crs-course-unit .crs-view-test .btn{max-width:100%;white-space:normal}
}
@media(prefers-reduced-motion:reduce){.crs-course-unit .crs-unit-chevron{transition:none}}
