/* v46 UI cleanup. Base v45 design and business logic are unchanged. */
:where(.site-header>*,.course-card>*,.course-product-hero>*,.course-group-card>*,.compact-purchase-heading>*,.compact-form-section>*,.payment-state-card>*,.learning-header>*,.page-head>*,.course-hero>*,.course-access-card>*,.lesson-layout>*,.lesson-content>*,.lesson-sidebar>*,.course-lesson-row>*,.dashboard-main>*,.dashboard-panel>*){min-width:0}
.button,.payment-status,.lesson-status,.account-status{white-space:nowrap}
.course-card h3,.course-product-page h1,.course-group-card h3,.compact-purchase-shell h1,.learning-main h1,.learning-main h2,.learning-main h3,.lesson-name strong,.dashboard-main h2,.dashboard-main h3{overflow-wrap:anywhere}
.course-product-lead,.compact-purchase-heading>p,.page-intro,.course-hero-copy>p,.homework-description,.lesson-description>p{max-width:760px;line-height:1.5}
.compact-section-head small:empty,.video-placeholder p:empty,.lesson-access-card p:empty{display:none}
.purchase-sequence-note{padding:12px 14px!important;gap:4px!important}
.purchase-sequence-note span{line-height:1.4}
.lesson-access-card>div{min-width:0}
.lesson-access-card p{max-width:520px}
.lesson-name span{line-height:1.35}
.material-link>span:first-child,.homework-file-card>span,.solution-card>span{min-width:0;overflow-wrap:anywhere}
.learning-main .notice,.learning-main .homework-notice,.learning-main .access-unavailable{line-height:1.5}
.auth-description:empty{display:none}
.dashboard-list-head strong{font-weight:500;color:var(--muted,#6c746f)}
@media(max-width:900px){
  .site-header,.learning-header{gap:10px}
  .compact-section-head{gap:10px}
  .course-group-card,.course-access-card{min-width:0}
}
@media(max-width:640px){
  .button{max-width:100%}
  .course-product-page h1,.compact-purchase-shell h1,.learning-main h1{font-size:clamp(30px,9vw,42px);line-height:1.04}
  .compact-purchase-heading>p,.page-intro{margin-top:8px}
  .compact-section-head{align-items:flex-start}
  .compact-section-head small{white-space:normal;text-align:right;max-width:42%}
  .compact-plan-card,.compact-group-card{min-width:0}
  .compact-group-time,.compact-group-teacher-fixed,.compact-group-meta{min-width:0}
  .lesson-access-card{align-items:flex-start;gap:14px}
  .lesson-access-card .button{width:100%}
  .page-head{gap:14px}
  .page-head-actions{width:100%}
  .page-head-actions .button{width:100%}
  .course-lesson-row{grid-template-columns:minmax(0,1fr)!important}
  .course-lesson-row>*{min-width:0}
  .dashboard-section-heading,.dashboard-list-head{gap:10px;flex-wrap:wrap}
}
