/* 学习进度明细：桌面表格、移动卡片与课程运营图表 */
.lp-summary { margin-bottom: 14px; }
.lp-summary .stat { min-width: 0; }
.lp-summary .vl { white-space: nowrap; }
.lp-summary .vl.lp-duration, .lp-summary .vl.lp-date { font-size: 18px; line-height: 1.45; white-space: normal; }
.lp-filter-card { margin-bottom: 14px; }
.lp-filters { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 10px; }
.lp-filters .form-row { margin: 0; min-width: 0; }
.lp-filters .inp { width: 100%; min-height: 42px; }
.lp-keyword { grid-column: span 2; }
.lp-actions { gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.lp-link { border: 0; background: transparent; color: var(--brand); font: inherit; font-weight: 650; padding: 0; text-align: left; cursor: pointer; min-height: 32px; }
.lp-link:hover { text-decoration: underline; }
.lp-person { display: flex; align-items: center; gap: 8px; }
.lp-task-name { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-pager { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 14px; }
.lp-mobile { display: none; }
.lp-record-card { border: 1px solid var(--bd2); border-radius: 12px; padding: 12px; margin-bottom: 10px; background: var(--card, #fff); }
.lp-record-card .btn { margin-top: 10px; min-height: 44px; }
.lp-course-name { font-weight: 650; margin: 9px 0 6px; }
.lp-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.lp-profile-course { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bd2); }
.lp-profile-course > div { flex: 1; min-width: 0; }
.lp-profile-course .btn { flex: 0 0 auto; min-height: 40px; }
.lp-chart { display: block; width: 100%; height: auto; min-height: 150px; }
.lp-funnel-row { padding: 11px 0; border-bottom: 1px solid var(--bd2); }
.lp-funnel-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 7px; }
.lp-funnel-title span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.lp-funnel-track { height: 9px; border-radius: 999px; overflow: hidden; background: var(--bd2); margin-bottom: 5px; }
.lp-funnel-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #8B5CF6); }
.lp-alert { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--bd2); }
.lp-alert .tag { margin-left: 8px; }
.lp-tag-close { border: 0; background: transparent; color: inherit; font-size: 20px; line-height: 1; margin-left: 6px; cursor: pointer; min-width: 28px; min-height: 28px; }

@media (max-width: 1100px) {
  .lp-filters { grid-template-columns: repeat(3, minmax(140px, 1fr)); }
}
@media (max-width: 768px) {
  .lp-filters { grid-template-columns: 1fr 1fr; gap: 9px; }
  .lp-keyword { grid-column: span 2; }
  .lp-filters .inp { font-size: 16px; min-height: 44px; }
  .lp-actions .btn { min-height: 44px; }
  .lp-desktop { display: none; }
  .lp-mobile { display: block; }
  .lp-summary { grid-template-columns: 1fr 1fr !important; gap: 9px !important; }
  .lp-summary .vl { font-size: 23px; }
  .lp-summary .vl.lp-duration, .lp-summary .vl.lp-date { font-size: 15px; }
  .lp-detail-head { flex-direction: column; }
  .lp-funnel-title { flex-direction: column; gap: 3px; }
  .lp-funnel-title span { white-space: normal; }
  .lp-chart { min-height: 130px; }
  .lp-pager .btn { min-height: 44px; }
}
@media (max-width: 390px) {
  .lp-filters { grid-template-columns: 1fr; }
  .lp-keyword { grid-column: auto; }
  .lp-summary { grid-template-columns: 1fr 1fr !important; }
  .lp-summary .stat { padding: 11px; }
}
