/* FIX2797.8 R3: compact curriculum actions and responsive payment method choices. */
.unified-lesson-row{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;column-gap:12px!important;align-items:center!important;min-width:0!important}
.unified-lesson-row .course-lesson-heading{min-width:0!important;overflow-wrap:anywhere}
.unified-lesson-row .nga-lesson-action{position:static!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;white-space:nowrap!important;font-size:13px!important;line-height:1.2!important;letter-spacing:normal!important;padding:7px 10px!important;transform:none!important;right:auto!important;bottom:auto!important;overflow:visible!important;text-overflow:clip!important}
.nga-modal-payment-choices:not([hidden]){display:grid;gap:9px;margin:12px 0;text-align:left}
.nga-modal-payment-choice:not([hidden]){display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #d4e1f0;border-radius:12px;cursor:pointer;background:#f8fbff}
.nga-modal-payment-choice:has(input:checked){border-color:#2672e8;background:#edf5ff}
.nga-modal-payment-choice input{width:18px;height:18px;accent-color:#2367e8;flex:none}
.nga-modal-payment-choice span{display:grid;gap:4px;flex:1;min-width:0}
.nga-modal-payment-choice strong{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:14px}
.nga-modal-payment-choice small{font-size:12px;color:#536784;line-height:1.4}
.unlock-modal-card{max-height:calc(100dvh - 26px);overflow:auto}
@media(max-width:650px){.unified-lesson-row{grid-template-columns:31px minmax(0,1fr)!important}.unified-lesson-row .nga-lesson-action{grid-column:2;justify-self:start;margin-top:4px!important;font-size:12px!important}}

/* FIX2797.8 R4: Text action must never use the legacy 34px circular padlock treatment. */
body.course-page .course-module-accordion .unified-lesson-row .course-lesson-open.nga-lesson-action,
body.product-page .course-module-accordion .unified-lesson-row .course-lesson-open.nga-lesson-action {
  box-sizing:border-box!important; display:inline-flex!important; position:static!important;
  flex:0 0 auto!important; width:auto!important; min-width:0!important; max-width:100%!important;
  height:auto!important; min-height:0!important; padding:5px 8px!important; margin:0!important;
  border:0!important; border-radius:6px!important; background:transparent!important;
  color:#145fb5!important; font-size:13px!important; font-weight:650!important; line-height:1.35!important;
  white-space:nowrap!important; text-overflow:clip!important; overflow:visible!important;
  text-align:right!important; box-shadow:none!important; transform:none!important; letter-spacing:normal!important;
  align-items:center!important; justify-content:flex-end!important;
}
body.course-page .course-module-accordion .unified-lesson-row,
body.product-page .course-module-accordion .unified-lesson-row {
  display:grid!important; grid-template-columns:40px minmax(0,1fr) max-content!important; align-items:center!important;
  gap:12px!important; min-width:0!important;
}
@media(max-width:650px){
 body.course-page .course-module-accordion .unified-lesson-row,
 body.product-page .course-module-accordion .unified-lesson-row{grid-template-columns:32px minmax(0,1fr)!important;}
 body.course-page .course-module-accordion .unified-lesson-row .course-lesson-open.nga-lesson-action,
 body.product-page .course-module-accordion .unified-lesson-row .course-lesson-open.nga-lesson-action {
  grid-column:2!important;justify-self:start!important;text-align:left!important;margin-top:4px!important;font-size:12px!important;
 }
}
