.nc-el-lms-wrap { max-width: 960px; margin: 0 auto; }
.nc-el-lms-nav { margin-bottom: 1.5rem; font-size: 0.9rem; }
.nc-el-lms-nav a { color: #1a3a5c; text-decoration: none; }
.nc-el-lms-nav a:hover { text-decoration: underline; }
.nc-el-lms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.nc-el-lms-card {
  border: 1px solid #dde3ea;
  border-radius: 8px;
  padding: 1rem 1.1rem;
  background: #fafbfc;
}
.nc-el-lms-card h2 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.nc-el-lms-card p { margin: 0 0 0.75rem; color: #444; font-size: 0.95rem; }
.nc-el-lms-price { font-weight: 600; color: #1a3a5c; margin-bottom: 0.75rem; }
.nc-el-lms-btn {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: #1a3a5c;
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
}
.nc-el-lms-btn:hover { background: #142d47; }
.nc-el-lms-lessons { list-style: none; padding: 0; margin: 1rem 0; }
.nc-el-lms-lessons li {
  border-bottom: 1px solid #eee;
  padding: 0.65rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.nc-el-lms-lessons a { color: #1a3a5c; font-weight: 500; text-decoration: none; }
.nc-el-lms-lessons a:hover { text-decoration: underline; }
.nc-el-lms-badge {
  font-size: 0.75rem;
  background: #e8f4ea;
  color: #1e6b2e;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}
.nc-el-lms-lesson-body { margin-top: 1rem; line-height: 1.6; }
.nc-el-lms-video { margin: 1rem 0; max-width: 100%; }
.nc-el-lms-video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: 6px; }
.nc-el-narrator {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #dde3ea;
  border-radius: 8px;
  background: #f8fafc;
}
.nc-el-narrator audio { width: 100%; margin-bottom: 0.75rem; }
.nc-el-narrator-caption {
  min-height: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #334155;
  transition: color 0.2s ease;
}
.nc-el-narrator-caption.nc-el-narrator-active {
  color: #0f172a;
  font-weight: 600;
}
.nc-el-quiz-form { margin-top: 1.5rem; }
.nc-el-quiz-q { border: 1px solid #dde3ea; border-radius: 8px; padding: 1rem; margin-bottom: 1rem; }
.nc-el-quiz-q legend { font-weight: 600; padding: 0 0.25rem; }
.nc-el-quiz-q label { display: block; margin: 0.4rem 0; cursor: pointer; }
.nc-el-lms-pass { color: #1e6b2e; font-weight: 600; }
.nc-el-lms-alert { color: #9a3412; background: #fff7ed; padding: 0.75rem 1rem; border-radius: 6px; }

/* NC.EL.23 — Course collaboration tabs */
.nc-el-collab-tabs {
  display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid #dde3ea; margin: 1.25rem 0 1rem;
}
.nc-el-collab-tabs a {
  padding: 0.65rem 1rem; text-decoration: none; color: #555; font-weight: 600; font-size: 0.92rem;
  border-bottom: 3px solid transparent; margin-bottom: -2px;
}
.nc-el-collab-tabs a.is-active { color: #ea580c; border-bottom-color: #ea580c; }
.nc-el-collab-tab-panel { margin-top: 0.5rem; }
.nc-el-collab-empty { color: #555; padding: 0.75rem 0; }
.nc-el-collab-panel { margin: 0.5rem 0 1rem; }
.nc-el-collab-iframe {
  width: 100%; min-height: 520px; border: 1px solid #dde3ea; border-radius: 8px; margin-top: 1rem;
}
.nc-el-collab-steps { margin: 1rem 0; padding-left: 1.25rem; color: #444; }
.nc-el-forum-compose label { display: block; margin: 0.75rem 0 0.35rem; font-weight: 600; }
.nc-el-forum-compose input[type=text], .nc-el-forum-compose textarea {
  width: 100%; max-width: 640px; padding: 0.5rem; border: 1px solid #ccd4dc; border-radius: 6px; font: inherit;
}
.nc-el-forum-list { list-style: none; padding: 0; margin: 1rem 0; }
.nc-el-forum-list li {
  border: 1px solid #dde3ea; border-radius: 8px; padding: 0.85rem 1rem; margin-bottom: 0.65rem; background: #fff;
}
.nc-el-lms-btn-secondary { background: #5a6a7a; }
.nc-el-lms-btn-secondary:hover { background: #4a5a6a; }
.nc-el-nexus-iframe {
  width: 100%; min-height: 70vh; border: 1px solid #dde3ea; border-radius: 8px; margin-top: 0.75rem;
}
/* NC.EL.25 — DEAC s51 policy styles (ported from auto) */
.nc-el-deac-imported .s51-wrap { max-width: 900px; margin: 0 auto; padding: 24px 16px; color: #333; }
.nc-el-deac-imported .s51-hero { background: #1a1a2e; color: #fff; padding: 28px 32px; border-radius: 8px; margin-bottom: 28px; }
.nc-el-deac-imported .s51-hero h1 { margin: 0; font-size: 1.6rem; }
.nc-el-deac-imported .s51-section { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; padding: 24px; margin-bottom: 18px; }
.nc-el-deac-imported .s51-section h2 { margin: 0 0 12px; font-size: 1.15rem; color: #1a1a2e; border-bottom: 2px solid #cc0000; padding-bottom: 8px; }
.nc-el-deac-imported .s51-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; margin: 10px 0; }
.nc-el-deac-imported .s51-table th { background: #1a1a2e; color: #fff; padding: 8px 12px; text-align: left; }
.nc-el-deac-imported .s51-notice.info { background: #e3f2fd; border-left: 4px solid #1565c0; padding: 12px 16px; border-radius: 6px; }
