/* =========================================================
 * 家长中心（/parent）落地页样式
 * 视觉语言与知识库、学习报告页保持一致（主色 #ff6b35）
 * ========================================================= */

.pc-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 16px 48px;
}

/* ---------- 升级提示 ---------- */
.pc-alert {
  margin-bottom: 16px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
}
.pc-alert code {
  padding: 1px 6px;
  background: #fff;
  border: 1px solid #fde68a;
  border-radius: 4px;
  font-family: Consolas, Monaco, monospace;
}

/* ---------- 首屏 ---------- */
.pc-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  padding: 30px 28px;
  background: #fff;
  border: 1px solid #eceff5;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(24, 30, 48, .06);
  overflow: hidden;
  position: relative;
}
.pc-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b35, #ffb800, #ff006e);
}
.pc-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #c2410c;
  background: #fff4ed;
  border-radius: 999px;
}
.pc-hero h1 {
  margin: 14px 0 12px;
  font-size: 29px;
  line-height: 1.4;
  color: #1f2637;
  font-weight: 700;
  letter-spacing: .3px;
}
.pc-hero-sub {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #5a6478;
}
.pc-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.pc-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: #8a94a6;
}
.pc-status.on { color: #0f9d58; font-weight: 600; }
.pc-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  box-shadow: 0 0 0 3px rgba(203, 213, 225, .28);
}
.pc-status.on .pc-status-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .18);
}
.pc-price-hint {
  margin-top: 10px;
  font-size: 13px;
  color: #c2410c;
}
.pc-price-hint b { font-size: 18px; }

/* ---------- 首屏示意卡 ---------- */
.pc-hero-card { position: relative; }
.pc-mock {
  padding: 16px;
  background: linear-gradient(160deg, #fff8f4, #fff);
  border: 1px solid #ffe3d4;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(255, 107, 53, .12);
}
.pc-mock-hd { display: flex; align-items: center; gap: 10px; }
.pc-mock-avatar {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, #ff8a4c, #ff6b35);
  border-radius: 12px;
}
.pc-mock-name { font-size: 14px; font-weight: 600; color: #2a3142; }
.pc-mock-sub { font-size: 12px; color: #9aa4b5; margin-top: 2px; }
.pc-mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 12px;
}
.pc-mock-stats div {
  padding: 10px 8px;
  text-align: center;
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
}
.pc-mock-stats b { display: block; font-size: 19px; color: #ff6b35; }
.pc-mock-stats span { font-size: 11px; color: #8a94a6; }
.pc-mock-bar {
  height: 8px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}
.pc-mock-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffb800, #ff6b35);
  border-radius: 999px;
}
.pc-mock-foot { margin-top: 8px; font-size: 12px; color: #8a94a6; }
.pc-mock-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pc-mock-tags span {
  padding: 3px 9px;
  font-size: 11px;
  color: #6b7280;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 999px;
}
.pc-hero-card-tip {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  color: #a8b1c1;
}

/* ---------- 通用按钮 ---------- */
.pc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  font-size: 14px;
  color: #4b5563;
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s ease;
  white-space: nowrap;
}
.pc-btn:hover { border-color: #ff6b35; color: #ff6b35; }
.pc-btn-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ff8a4c, #ff6b35 55%, #ff006e);
  box-shadow: 0 8px 20px rgba(255, 107, 53, .28);
}
.pc-btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(255, 107, 53, .34); }
.pc-btn-lg { padding: 12px 26px; font-size: 15px; font-weight: 600; }
.pc-btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- 区块 ---------- */
.pc-section {
  margin-top: 26px;
  padding: 24px;
  background: #fff;
  border: 1px solid #eceff5;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(24, 30, 48, .04);
}
.pc-h2 {
  margin: 0 0 18px;
  font-size: 19px;
  font-weight: 700;
  color: #1f2637;
}
.pc-h2 em {
  margin-left: 8px;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  color: #8a94a6;
}

/* ---------- 权益 ---------- */
.pc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pc-feat {
  padding: 16px 18px;
  background: #fbfcfe;
  border: 1px solid #f0f3f8;
  border-radius: 12px;
  transition: all .2s ease;
}
.pc-feat:hover { background: #fff; border-color: #ffe3d4; box-shadow: 0 6px 18px rgba(255, 107, 53, .08); }
.pc-feat-ico { font-size: 20px; }
.pc-feat h3 { margin: 8px 0 6px; font-size: 15px; color: #2a3142; }
.pc-feat p { margin: 0; font-size: 13px; line-height: 1.85; color: #6b7280; }

/* ---------- 套餐 ---------- */
.pc-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pc-plans-loading { font-size: 13px; color: #8a94a6; padding: 12px 0; }
.pc-plan {
  position: relative;
  padding: 20px 18px 18px;
  background: #fff;
  border: 1.5px solid #eceff5;
  border-radius: 14px;
  cursor: pointer;
  transition: all .18s ease;
}
.pc-plan:hover { border-color: #ffc7a8; transform: translateY(-2px); }
.pc-plan.on {
  border-color: #ff6b35;
  box-shadow: 0 12px 26px rgba(255, 107, 53, .16);
  background: linear-gradient(180deg, #fffaf7, #fff);
}
.pc-plan-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ffb800, #ff6b35);
  border-radius: 999px;
}
.pc-plan-name { font-size: 15px; font-weight: 600; color: #2a3142; }
.pc-plan-price {
  margin: 10px 0 4px;
  font-size: 26px;
  font-weight: 700;
  color: #ff6b35;
  letter-spacing: .5px;
}
.pc-plan-price small { font-size: 13px; font-weight: 400; color: #9aa4b5; margin-left: 2px; }
.pc-plan-desc { font-size: 12px; color: #8a94a6; line-height: 1.7; }
.pc-plan-day {
  margin-top: 10px;
  padding-top: 10px;
  font-size: 12px;
  color: #6b7280;
  border-top: 1px dashed #eef2f7;
}

/* ---------- 购买条 ---------- */
.pc-buy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 18px;
  background: #fff8f4;
  border: 1px solid #ffe3d4;
  border-radius: 12px;
}
.pc-buy-price { font-size: 13px; color: #6b7280; }
.pc-buy-price b { margin-left: 10px; font-size: 24px; color: #ff6b35; }
.pc-tip { margin: 12px 0 0; font-size: 12px; color: #8a94a6; }
.pc-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.9;
  color: #9aa4b5;
}
.pc-note b { color: #6b7280; font-weight: 600; }

/* ---------- 绑定孩子 ---------- */
.pc-bind {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.pc-input {
  flex: 1 1 240px;
  min-width: 180px;
  padding: 11px 14px;
  font-size: 14px;
  color: #2a3142;
  background: #fbfcfe;
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  outline: none;
  transition: all .18s ease;
}
.pc-input:focus { background: #fff; border-color: #ff6b35; box-shadow: 0 0 0 3px rgba(255, 107, 53, .1); }
.pc-input-sm { flex: 0 1 200px; }
.pc-kids { display: flex; flex-direction: column; gap: 10px; }
.pc-kid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 13px 16px;
  background: #fbfcfe;
  border: 1px solid #f0f3f8;
  border-radius: 12px;
}
.pc-kid-name { font-size: 14px; font-weight: 600; color: #2a3142; }
.pc-kid-remark { font-size: 12px; color: #8a94a6; }
.pc-kid-op { margin-left: auto; display: flex; gap: 12px; font-size: 13px; }
.pc-kid-op a { color: #ff6b35; text-decoration: none; }
.pc-kid-op a:hover { text-decoration: underline; }
.pc-kid-empty {
  padding: 16px;
  font-size: 13px;
  color: #8a94a6;
  text-align: center;
  background: #fbfcfe;
  border: 1px dashed #e3e8f0;
  border-radius: 12px;
}

/* ---------- FAQ ---------- */
.pc-faq details {
  padding: 13px 0;
  border-bottom: 1px dashed #eef2f7;
}
.pc-faq details:last-child { border-bottom: 0; }
.pc-faq summary {
  font-size: 14px;
  font-weight: 600;
  color: #2a3142;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 18px;
}
.pc-faq summary::before {
  content: '？';
  position: absolute;
  left: 0;
  color: #ff6b35;
  font-weight: 700;
}
.pc-faq summary::-webkit-details-marker { display: none; }
.pc-faq p {
  margin: 8px 0 0 18px;
  font-size: 13px;
  line-height: 1.9;
  color: #6b7280;
}

/* ---------- 分享 ---------- */
.pc-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(120deg, #fff8f4, #fff);
  border-color: #ffe3d4;
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .pc-hero { grid-template-columns: 1fr; padding: 22px 18px; gap: 20px; }
  .pc-hero h1 { font-size: 23px; }
  .pc-br { display: none; }
  .pc-grid { grid-template-columns: 1fr; }
  .pc-plans { grid-template-columns: 1fr; }
  .pc-section { padding: 18px 16px; margin-top: 18px; }
  .pc-buy-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .pc-buy-price b { margin-left: 6px; }
  .pc-share { flex-direction: column; align-items: flex-start; }
  .pc-kid-op { margin-left: 0; width: 100%; }
}

/* =========================================================
 * 家长监控台（开通后替代营销首屏）
 * ========================================================= */

.pc-dash { margin-bottom: 26px; }

.pc-dash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pc-dash-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.pc-kid-tab {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 128px;
  padding: 10px 14px;
  text-align: left;
  background: #fff;
  border: 1.5px solid #eceff5;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pc-kid-tab:hover { border-color: #ffd0b8; }
.pc-kid-tab.on {
  border-color: #ff6b35;
  box-shadow: 0 6px 16px rgba(255, 107, 53, .14);
}
.pc-kid-tab-name { font-size: 14px; font-weight: 700; color: #2a3142; }
.pc-kid-tab-sub { font-size: 12px; color: #8a94a6; }
.pc-kid-add { align-items: center; justify-content: center; color: #ff6b35; border-style: dashed; font-weight: 600; }
.pc-dash-meta { display: flex; align-items: center; gap: 8px; }
.pc-dash-at { font-size: 12px; color: #8a94a6; }
.pc-btn-sm { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 9px; line-height: 30px; display: inline-block; }

.pc-dash-empty {
  padding: 26px 18px;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: #6b7280;
  background: #fff;
  border: 1px dashed #e3e8f0;
  border-radius: 16px;
}

/* ---- 智能提醒 ---- */
.pc-insights { display: grid; gap: 8px; margin-bottom: 14px; }
.pc-insight {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 14px;
  font-size: 13.5px;
  line-height: 1.7;
  border-radius: 12px;
}
.pc-insight p { margin: 0; color: #374151; }
.pc-insight-good { background: #f0fdf6; border: 1px solid #bbf7d8; }
.pc-insight-warn { background: #fff8ed; border: 1px solid #fde1c3; }
.pc-insight-info { background: #f4f7ff; border: 1px solid #dbe6ff; }

/* ---- 统计卡 ---- */
.pc-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.pc-stat {
  padding: 14px 12px;
  background: #fff;
  border: 1px solid #eceff5;
  border-radius: 14px;
  text-align: center;
}
.pc-stat b { display: block; font-size: 21px; color: #1f2637; letter-spacing: .3px; }
.pc-stat b small { font-size: 12px; font-weight: 500; color: #8a94a6; margin-left: 2px; }
.pc-stat span { display: block; margin-top: 5px; font-size: 12px; color: #8a94a6; }
.pc-stat span.up { color: #059e78; }
.pc-stat span.down { color: #dc2626; }
.pc-stat-last b { font-size: 15px; line-height: 26px; padding: 0 2px; word-break: keep-all; }

/* ---- 卡片栅格 ---- */
.pc-dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.pc-card {
  padding: 18px;
  background: #fff;
  border: 1px solid #eceff5;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(24, 30, 48, .04);
}
.pc-dash > .pc-card,
#pcDashBody > .pc-card { margin-bottom: 14px; }
.pc-card-h {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2637;
}
.pc-card-h em {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  color: #8a94a6;
}
.pc-card-h em.up { color: #059e78; }
.pc-card-h em.down { color: #dc2626; }

/* ---- 趋势柱状图 ---- */
.pc-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 120px;
  padding-top: 6px;
}
.pc-bar {
  flex: 1;
  display: flex;
  align-items: flex-end;
  border-radius: 5px 5px 2px 2px;
  background: #f3f5f9;
  overflow: hidden;
}
.pc-bar i {
  display: block;
  width: 100%;
  min-height: 3px;
  background: linear-gradient(180deg, #ffb28a, #ff6b35);
  border-radius: 5px 5px 2px 2px;
  transition: height .3s ease;
}
.pc-bar:not(.in) i { background: #e7ebf2; }
.pc-bar.today i { background: linear-gradient(180deg, #ff6b35, #ff006e); }
.pc-bars-axis { display: flex; gap: 5px; margin-top: 6px; }
.pc-bars-axis span { flex: 1; font-size: 10px; color: #a6aeba; text-align: center; }

/* ---- 周目标 ---- */
.pc-goal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #4b5563;
}
.pc-goal-row span { width: 60px; flex: none; }
.pc-goal-row b { width: 44px; text-align: right; font-size: 13px; color: #1f2637; }
.pc-goal-bar {
  flex: 1;
  height: 8px;
  background: #f1f3f8;
  border-radius: 999px;
  overflow: hidden;
}
.pc-goal-bar i {
  display: block;
  height: 100%;
  min-width: 0;
  background: linear-gradient(90deg, #ff8a4c, #ff6b35);
  border-radius: 999px;
  transition: width .3s ease;
}
.pc-goal-done {
  margin-top: 10px;
  padding: 8px 12px;
  font-size: 13px;
  color: #047857;
  background: #f0fdf6;
  border-radius: 9px;
}

/* ---- 班级 PK ---- */
.pc-rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
}
.pc-rank-row.me { background: #fff4ed; }
.pc-rank-no {
  width: 22px;
  height: 22px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #8a94a6;
  background: #f3f5f9;
  border-radius: 7px;
}
.pc-rank-row:first-child .pc-rank-no { color: #b45309; background: #fef3c7; }
.pc-rank-name { font-weight: 600; color: #2a3142; }
.pc-rank-val { margin-left: auto; font-size: 12px; color: #8a94a6; }

/* ---- 知识库 / 录播课进度 ---- */
.pc-space-row { padding: 9px 0; border-bottom: 1px dashed #eef2f7; }
.pc-space-row:last-child { border-bottom: 0; }
.pc-space-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
  color: #2a3142;
  margin-bottom: 7px;
}
.pc-space-top a { color: #2a3142; text-decoration: none; font-weight: 600; }
.pc-space-top a:hover { color: #ff6b35; }
.pc-space-top b { color: #ff6b35; }
.pc-space-sub { margin-top: 6px; font-size: 12px; color: #8a94a6; }

/* ---- 小行列表（难点 / 最近在学） ---- */
.pc-mini-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #eef2f7;
  font-size: 13px;
}
.pc-mini-row:last-child { border-bottom: 0; }
.pc-mini-title { color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-mini-val { flex: none; font-size: 12px; color: #8a94a6; }
.pc-tag {
  display: inline-block;
  margin-left: 4px;
  padding: 0 6px;
  font-size: 11px;
  font-style: normal;
  color: #4f46e5;
  background: #eef2ff;
  border-radius: 999px;
}
.pc-tag.warn { color: #b45309; background: #fef3c7; }

/* ---- AI 答疑动态 ---- */
.pc-ai-lesson { padding: 10px 0; border-bottom: 1px dashed #eef2f7; }
.pc-ai-lesson:last-child { border-bottom: 0; }
.pc-ai-lesson-h {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
}
.pc-ai-lesson-h a { color: #2a3142; font-weight: 600; text-decoration: none; }
.pc-ai-lesson-h a:hover { color: #ff6b35; }
.pc-ai-lesson-h span { flex: none; font-size: 12px; color: #8a94a6; }
.pc-ai-lesson ul { margin: 7px 0 0; padding: 0; list-style: none; }
.pc-ai-lesson li {
  position: relative;
  padding: 3px 0 3px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: #4b5563;
}
.pc-ai-lesson li::before {
  content: 'Q';
  position: absolute;
  left: 0;
  font-size: 11px;
  font-weight: 700;
  color: #ff6b35;
}
.pc-ai-lesson li em { margin-left: 8px; font-size: 11px; font-style: normal; color: #a6aeba; }

/* ---- 周报 ---- */
.pc-report {
  width: 100%;
  min-height: 132px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.9;
  color: #374151;
  background: #fbfcfe;
  border: 1px solid #e7ebf2;
  border-radius: 12px;
  resize: vertical;
  font-family: inherit;
}
.pc-report-btns { display: flex; gap: 10px; margin-top: 10px; }

.pc-empty {
  padding: 18px 10px;
  font-size: 13px;
  color: #8a94a6;
  text-align: center;
  background: #fbfcfe;
  border-radius: 10px;
}

/* ---- 监控台响应式 ---- */
@media (max-width: 860px) {
  .pc-stats { grid-template-columns: repeat(3, 1fr); }
  .pc-dash-grid { grid-template-columns: 1fr; }
  .pc-kid-tab { min-width: 108px; }
  .pc-dash-head { flex-direction: column; }
  .pc-report-btns { flex-direction: column; }
  .pc-bars { height: 90px; }
}
