/* Final homepage fit fixes. Loaded after all legacy homepage overrides. */
html body .sidebar-account-copy em,
html body #sidebarAccountRole,
html body .sidebar-account-card .sidebar-account-copy > em,
html body .sidebar-account-card .sidebar-account-copy > :not(strong) {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

/* Experience optimization v281: homepage is a training decision surface. */
html body[data-active-panel="landing"] .landing-home-grid,
html body:has(.landing-workspace.active) .landing-home-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-rows: auto !important;
  gap: 22px !important;
  align-items: start !important;
}

html body[data-active-panel="landing"] .landing-home-grid > .section-card,
html body:has(.landing-workspace.active) .landing-home-grid > .section-card {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

html body[data-active-panel="landing"] .landing-home-grid > .landing-xiaowen-briefing,
html body[data-active-panel="landing"] .landing-home-grid > .landing-route-card,
html body[data-active-panel="landing"] .landing-home-grid > #landingAchievementCenter,
html body[data-active-panel="landing"] .landing-home-grid > .landing-hardware-focus,
html body[data-active-panel="landing"] .landing-home-grid > .landing-hardware-questions,
html body[data-active-panel="landing"] .landing-home-grid > .landing-coach-card-bottom,
html body[data-active-panel="landing"] .landing-home-grid > .landing-special-training,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-xiaowen-briefing,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-route-card,
html body:has(.landing-workspace.active) .landing-home-grid > #landingAchievementCenter,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-hardware-focus,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-hardware-questions,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-coach-card-bottom,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-special-training {
  display: none !important;
}

html body[data-active-panel="landing"] .landing-welcome-panel,
html body:has(.landing-workspace.active) .landing-welcome-panel {
  min-height: 170px !important;
  height: auto !important;
  padding: 24px !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-greeting-line,
html body:has(.landing-workspace.active) .landing-greeting-line {
  margin: 0 0 14px !important;
  line-height: 1.15 !important;
}

html body[data-active-panel="landing"] .landing-training-statusbar,
html body:has(.landing-workspace.active) .landing-training-statusbar {
  display: grid !important;
  grid-template-columns: minmax(300px, 1.45fr) repeat(3, minmax(190px, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-training-status,
html body:has(.landing-workspace.active) .landing-training-status {
  min-height: 96px !important;
  height: auto !important;
  padding: 14px 18px !important;
  overflow: visible !important;
  align-content: center !important;
  gap: 4px !important;
}

html body[data-active-panel="landing"] .landing-training-status span,
html body[data-active-panel="landing"] .landing-training-status em,
html body[data-active-panel="landing"] .landing-training-status b,
html body:has(.landing-workspace.active) .landing-training-status span,
html body:has(.landing-workspace.active) .landing-training-status em,
html body:has(.landing-workspace.active) .landing-training-status b {
  line-height: 1.18 !important;
  white-space: normal !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-training-status strong,
html body:has(.landing-workspace.active) .landing-training-status strong {
  line-height: 1.02 !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-training-status-primary strong,
html body:has(.landing-workspace.active) .landing-training-status-primary strong {
  font-size: 46px !important;
}

html body[data-active-panel="landing"] .landing-focus-decision,
html body:has(.landing-workspace.active) .landing-focus-decision {
  min-height: 250px !important;
  padding: 24px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 77, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)) !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08) !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-head,
html body:has(.landing-workspace.active) .landing-focus-decision-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-head span,
html body:has(.landing-workspace.active) .landing-focus-decision-head span {
  color: #0f172a !important;
  font-size: 24px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-head strong,
html body:has(.landing-workspace.active) .landing-focus-decision-head strong {
  color: #7c4dff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-grid,
html body:has(.landing-workspace.active) .landing-focus-decision-grid {
  display: grid !important;
  grid-template-columns: 1.25fr 1fr 1.25fr !important;
  gap: 18px !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card,
html body:has(.landing-workspace.active) .landing-focus-decision-card {
  min-height: 154px !important;
  padding: 20px !important;
  display: grid !important;
  align-content: center !important;
  gap: 8px !important;
  text-align: left !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  color: #0f172a !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
  cursor: pointer !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card span,
html body:has(.landing-workspace.active) .landing-focus-decision-card span {
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card strong,
html body:has(.landing-workspace.active) .landing-focus-decision-card strong {
  color: #0f172a !important;
  font-size: 28px !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card-primary strong,
html body:has(.landing-workspace.active) .landing-focus-decision-card-primary strong {
  color: #6d4dff !important;
  font-size: 52px !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card small,
html body:has(.landing-workspace.active) .landing-focus-decision-card small {
  font-size: 18px !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card em,
html body[data-active-panel="landing"] .landing-focus-decision-card b,
html body:has(.landing-workspace.active) .landing-focus-decision-card em,
html body:has(.landing-workspace.active) .landing-focus-decision-card b {
  font-style: normal !important;
  line-height: 1.25 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card em,
html body:has(.landing-workspace.active) .landing-focus-decision-card em {
  color: #5b8cff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card b,
html body:has(.landing-workspace.active) .landing-focus-decision-card b {
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-action,
html body:has(.landing-workspace.active) .landing-focus-decision-action {
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.96), rgba(91, 140, 255, 0.96)) !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-action span,
html body[data-active-panel="landing"] .landing-focus-decision-action strong,
html body[data-active-panel="landing"] .landing-focus-decision-action em,
html body[data-active-panel="landing"] .landing-focus-decision-action b,
html body:has(.landing-workspace.active) .landing-focus-decision-action span,
html body:has(.landing-workspace.active) .landing-focus-decision-action strong,
html body:has(.landing-workspace.active) .landing-focus-decision-action em,
html body:has(.landing-workspace.active) .landing-focus-decision-action b {
  color: #fff !important;
}

html body[data-active-panel="landing"] .landing-primary-recommendation,
html body:has(.landing-workspace.active) .landing-primary-recommendation {
  min-height: 420px !important;
  max-height: none !important;
  height: auto !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .landing-weekly-growth,
html body:has(.landing-workspace.active) .landing-weekly-growth {
  min-height: 220px !important;
  height: auto !important;
}

@media (max-width: 1260px) {
  html body[data-active-panel="landing"] .landing-training-statusbar,
  html body:has(.landing-workspace.active) .landing-training-statusbar,
  html body[data-active-panel="landing"] .landing-focus-decision-grid,
  html body:has(.landing-workspace.active) .landing-focus-decision-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Experience optimization v281: interview coach is a live scoring panel. */
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-ai-coach-panel,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card .interview-ai-coach-panel {
  grid-template-rows: 126px 316px minmax(216px, 1fr) !important;
  gap: 12px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card {
  grid-template-rows: 28px 56px minmax(0, 34px) !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card {
  grid-template-rows: 30px minmax(0, 1fr) !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-list {
  grid-template-rows: repeat(8, 26px) !important;
  gap: 4px !important;
  align-content: start !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item {
  min-height: 26px !important;
  height: 26px !important;
  padding: 0 9px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item b {
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  font-size: 13px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card {
  grid-template-rows: 28px minmax(0, auto) auto !important;
  gap: 8px !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .engineering-score-summary {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin-top: 0 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .engineering-score-summary div {
  min-width: 0 !important;
  padding: 6px 7px !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.78) !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .engineering-score-summary span {
  display: block !important;
  margin-bottom: 3px !important;
  color: #64748b !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .engineering-score-summary strong {
  display: block !important;
  color: #111827 !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  grid-template-rows: 30px minmax(0, 1fr) 38px 18px !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list {
  overflow-y: auto !important;
  max-height: none !important;
}

/* Experience optimization v281: audio review shows answer-vs-standard evidence. */
html body[data-active-panel="audio"] .audio-review-standard-compare {
  display: grid !important;
  gap: 14px !important;
  padding: 16px !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95)) !important;
}

html body[data-active-panel="audio"] .audio-compare-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-compare-head span {
  color: #6d4dff !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-compare-head strong {
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-compare-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.35fr 1fr !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-compare-grid section {
  min-height: 112px !important;
  padding: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  border-radius: 16px !important;
  background: #fff !important;
}

html body[data-active-panel="audio"] .audio-compare-grid small {
  display: block !important;
  margin-bottom: 8px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-compare-grid p {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.65 !important;
}

html body[data-active-panel="audio"] .audio-compare-grid b {
  color: #6d4dff !important;
}

html body[data-active-panel="audio"] .audio-compare-missing {
  border-color: rgba(239, 68, 68, 0.22) !important;
  background: rgba(254, 242, 242, 0.84) !important;
}

html body[data-active-panel="audio"] .audio-compare-missing b {
  color: #ef4444 !important;
}

/* Brand subtitle consistency v283: identical logo subtitle on every page. */
html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-head--main,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-head--main,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand .brand-head--main,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand .brand-head--main {
  width: 100% !important;
  min-height: 118px !important;
  height: 118px !important;
  padding: 14px 12px 10px !important;
  display: grid !important;
  justify-items: center !important;
  align-content: start !important;
  gap: 6px !important;
  overflow: visible !important;
}

html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-main-logo,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-main-logo,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand .brand-main-logo,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand .brand-main-logo {
  display: block !important;
  width: 144px !important;
  max-width: 144px !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
  transform: none !important;
}

html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand .brand-subtitle-text {
  display: block !important;
  width: 180px !important;
  max-width: 180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: rgba(226, 232, 240, 0.84) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text br,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text br {
  display: block !important;
  content: "" !important;
}

/* Absolute final homepage fold lock v282. */
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-xiaowen-briefing,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-route-card,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-ai-task-center,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-hardware-focus,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-hardware-questions,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-training-heatmap,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-coach-card-bottom,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-special-training {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-welcome-panel {
  min-height: 170px !important;
  height: auto !important;
}

/* Absolute brand subtitle consistency v283: must stay last. */
html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-head--main,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-head--main,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand .brand-head--main,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand .brand-head--main {
  width: 100% !important;
  min-height: 118px !important;
  height: 118px !important;
  padding: 14px 12px 10px !important;
  display: grid !important;
  justify-items: center !important;
  align-content: start !important;
  gap: 6px !important;
  overflow: visible !important;
}

html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-main-logo,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-main-logo,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand .brand-main-logo,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand .brand-main-logo {
  display: block !important;
  width: 144px !important;
  max-width: 144px !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
  transform: none !important;
}

html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand .brand-subtitle-text {
  display: block !important;
  width: 180px !important;
  max-width: 180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: rgba(226, 232, 240, 0.84) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text br,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text br {
  display: block !important;
}

/* V5 IA final override: this block must remain at the physical end of this file. */
body[data-active-panel="landing"] #landingCustomizeHomeBtn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 24px !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto !important;
}

body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid > article.section-card {
  width: 100% !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: stretch !important;
}

body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid > article.section-card.landing-v5-command-center,
body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid > article.section-card.landing-v5-ai-advice,
body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid > article.section-card.landing-v5-training-plan,
body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid > article.section-card.landing-v5-job-match-section {
  min-height: 0 !important;
  height: auto !important;
}

/* Recorded ASR feedback is separate from AI scoring and must remain actionable. */
html body[data-active-panel="interview"] .interview-answer-zone #voiceTranscriptionFeedback:not([hidden]) {
  display: grid !important;
  gap: 10px;
  margin-top: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.6;
}

html body[data-active-panel="interview"] .interview-answer-zone #voiceTranscriptionFeedback .ghost-btn {
  justify-self: start;
  margin: 0;
}

html body[data-active-panel="interview"] .interview-answer-zone #voicePlayback[src] {
  display: block !important;
  width: 100% !important;
  height: 40px !important;
  margin-top: 12px;
}

/* Interview v5: Xiaowen as real-time coach, not post-score bot. */
html body[data-active-panel="interview"] .xiaowen-live-interview-coach {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(124, 77, 255, 0.2) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 242, 255, 0.94)),
    radial-gradient(circle at 10% 20%, rgba(124, 77, 255, 0.12), transparent 38%) !important;
  box-shadow: 0 14px 32px rgba(107, 76, 255, 0.1) !important;
}

html body[data-active-panel="interview"] .xiaowen-live-interview-coach[data-coach-level="warn"] {
  border-color: rgba(255, 128, 64, 0.32) !important;
  background:
    linear-gradient(135deg, rgba(255, 251, 245, 0.98), rgba(255, 245, 235, 0.95)),
    radial-gradient(circle at 10% 20%, rgba(255, 128, 64, 0.14), transparent 40%) !important;
}

html body[data-active-panel="interview"] .xiaowen-live-interview-coach[data-coach-level="good"] {
  border-color: rgba(34, 197, 94, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(248, 255, 251, 0.98), rgba(237, 253, 244, 0.94)),
    radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.12), transparent 40%) !important;
}

html body[data-active-panel="interview"] .xiaowen-live-interview-coach span {
  display: block !important;
  color: #6d4dff !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.35 !important;
}

html body[data-active-panel="interview"] .xiaowen-live-interview-coach[data-coach-level="warn"] span {
  color: #f97316 !important;
}

html body[data-active-panel="interview"] .xiaowen-live-interview-coach strong {
  display: block !important;
  margin-top: 4px !important;
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  line-height: 1.45 !important;
}

html body[data-active-panel="interview"] .xiaowen-live-interview-coach p {
  margin: 0 !important;
  color: #5f6f86 !important;
  font-size: 13px !important;
  font-weight: 760 !important;
  line-height: 1.55 !important;
}

html body[data-active-panel="interview"] .xiaowen-coach-live-cue {
  display: block !important;
  margin: 6px 0 0 !important;
  padding: 8px 10px !important;
  border-radius: 12px !important;
  background: rgba(124, 77, 255, 0.08) !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 820 !important;
  line-height: 1.45 !important;
}

html body[data-active-panel="interview"] .xiaowen-coach-live-cue[data-coach-level="warn"] {
  background: rgba(255, 128, 64, 0.11) !important;
  color: #9a3412 !important;
}

/* Landing V5 simplification: only goal, Xiaowen advice and today's tasks stay primary. */
body[data-active-panel="landing"] .landing-v5-hidden-secondary,
body[data-active-panel="landing"] .landing-v5-hidden-secondary[hidden] {
  display: none !important;
}

body[data-active-panel="landing"] .landing-v5-today-hero {
  background:
    radial-gradient(circle at 12% 16%, rgba(124, 92, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f9fbff 55%, #f4f0ff 100%) !important;
}

body[data-active-panel="landing"] .landing-v5-today-hero .landing-v5-command-copy h1 {
  max-width: 760px;
}

body[data-active-panel="landing"] .landing-v5-today-hero .landing-v5-command-copy p strong {
  color: #111827;
  font-weight: 950;
}

body[data-active-panel="landing"] .landing-xiaowen-advice-card {
  align-items: stretch !important;
  gap: 24px !important;
}

body[data-active-panel="landing"] .landing-xiaowen-advice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

body[data-active-panel="landing"] .landing-xiaowen-advice-grid span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(124, 92, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

body[data-active-panel="landing"] .landing-xiaowen-advice-grid small {
  color: #7c5cff;
  font-size: 13px;
  font-weight: 900;
}

body[data-active-panel="landing"] .landing-xiaowen-advice-grid b {
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
}

body[data-active-panel="landing"] .landing-v5-today-tasks .landing-v5-plan-day {
  position: relative;
  min-height: 104px;
}

body[data-active-panel="landing"] .landing-v5-today-tasks .landing-v5-plan-day span {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1efff;
  color: #6d5af2;
}

body[data-active-panel="landing"] .landing-v5-today-tasks .landing-v5-plan-day.is-current span {
  background: #e8fff3;
  color: #16a15f;
}

@media (max-width: 980px) {
  body[data-active-panel="landing"] .landing-xiaowen-advice-grid {
    grid-template-columns: 1fr;
  }
}

/* Xiaowen AI coach workbench v284. */
.xiaowen-coach-workbench.active {
  display: flex !important;
  flex-direction: column;
  gap: 24px;
}

.xiaowen-coach-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: stretch;
  min-height: 250px;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 10%, rgba(124, 92, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #fbfdff 54%, #f4f0ff 100%) !important;
}

.xiaowen-coach-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.xiaowen-coach-hero h2 {
  margin: 0;
  color: #111827;
  font-size: 42px;
  line-height: 1.16;
  letter-spacing: 0;
}

.xiaowen-coach-hero-copy > p {
  max-width: 780px;
  margin: 0;
  color: #526174;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.7;
}

.xiaowen-loop-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.xiaowen-loop-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(124, 92, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #5645d8;
  font-weight: 850;
}

.xiaowen-loop-strip i {
  color: #9aa4b2;
  font-style: normal;
  font-weight: 900;
}

.xiaowen-coach-score-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(124, 92, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 52px rgba(84, 65, 180, 0.14);
}

.xiaowen-coach-score-card span,
.xiaowen-decision-card .section-head > span,
.xiaowen-memory-card .section-head > span,
.xiaowen-todo-card .section-head > span {
  color: #7c5cff;
  font-size: 13px;
  font-weight: 900;
}

.xiaowen-coach-score-card strong {
  color: #111827;
  font-size: 30px;
  line-height: 1.2;
}

.xiaowen-coach-score-card p {
  margin: 0;
  color: #64748b;
  font-weight: 760;
  line-height: 1.65;
}

.xiaowen-coach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 24px;
}

.xiaowen-primary-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  gap: 20px;
  margin-bottom: 18px;
}

.xiaowen-primary-action small {
  color: #7c5cff;
  font-weight: 900;
}

.xiaowen-primary-action strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 30px;
  line-height: 1.2;
}

.xiaowen-primary-action p {
  max-width: 680px;
  margin: 12px 0 0;
  color: #526174;
  font-size: 16px;
  font-weight: 720;
  line-height: 1.65;
}

.xiaowen-primary-action dl,
.xiaowen-memory-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.xiaowen-primary-action dl div,
.xiaowen-memory-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid #e9e3ff;
  border-radius: 16px;
  background: #fbfaff;
}

.xiaowen-primary-action dt,
.xiaowen-memory-list small {
  color: #738198;
  font-size: 13px;
  font-weight: 850;
}

.xiaowen-primary-action dd,
.xiaowen-memory-list b {
  margin: 0;
  color: #111827;
  font-weight: 950;
  text-align: right;
}

.xiaowen-stage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.xiaowen-stage-grid article {
  min-height: 180px;
  padding: 20px;
  border: 1px solid #e9e3ff;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #fbfaff);
}

.xiaowen-stage-grid span,
.xiaowen-action-item span {
  display: inline-flex;
  width: max-content;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: #f1edff;
  color: #7c5cff;
  font-size: 12px;
  font-weight: 950;
}

.xiaowen-stage-grid strong {
  display: block;
  margin: 14px 0 10px;
  color: #111827;
  font-size: 20px;
  line-height: 1.25;
}

.xiaowen-stage-grid p,
.xiaowen-boundary-card li {
  margin: 0;
  color: #526174;
  font-weight: 740;
  line-height: 1.65;
}

.xiaowen-action-list {
  display: grid;
  gap: 14px;
}

.xiaowen-action-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 260px;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid #e6eaf2;
  border-radius: 18px;
  background: #ffffff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.xiaowen-action-item:hover {
  transform: translateY(-2px);
  border-color: #c8b9ff;
  box-shadow: 0 18px 38px rgba(84, 65, 180, 0.12);
}

.xiaowen-action-item strong {
  color: #111827;
  font-size: 18px;
  line-height: 1.25;
}

.xiaowen-action-item small {
  color: #64748b;
  font-weight: 800;
  text-align: right;
}

.xiaowen-boundary-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.xiaowen-boundary-card li {
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8fafc;
}

.xiaowen-boundary-card b {
  color: #111827;
}

@media (max-width: 1100px) {
  .xiaowen-coach-hero,
  .xiaowen-coach-grid,
  .xiaowen-primary-action,
  .xiaowen-stage-grid {
    grid-template-columns: 1fr;
  }

  .xiaowen-action-item {
    grid-template-columns: 1fr;
  }

  .xiaowen-action-item small {
    text-align: left;
  }
}

/* Engineering Lab must never look empty: visible first-screen task bench. */
body[data-active-panel="project-practice"] .engineering-lab-hero {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.82fr) minmax(420px, 1.18fr) !important;
  gap: 18px !important;
  margin: 16px 0 18px !important;
  padding: 18px !important;
  border: 1px solid rgba(124, 92, 255, 0.18) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 12% 15%, rgba(124, 92, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)) !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08) !important;
}

body[data-active-panel="project-practice"] .engineering-lab-hero-main {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-hero-main span {
  width: fit-content !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: rgba(124, 92, 255, 0.1) !important;
  color: #6d4aff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-hero-main h3 {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 28px !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-hero-main p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-task-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

body[data-active-panel="project-practice"] .engineering-lab-task {
  min-height: 148px !important;
  padding: 16px !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  text-align: left !important;
  cursor: pointer !important;
}

body[data-active-panel="project-practice"] .engineering-lab-task em {
  color: #64748b !important;
  font-style: normal !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-task strong {
  color: #0f172a !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-task span {
  min-height: 38px !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-task b {
  margin-top: auto !important;
  color: #6d4aff !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-task:hover {
  border-color: rgba(124, 92, 255, 0.42) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 18px 34px rgba(124, 92, 255, 0.12) !important;
}

@media (max-width: 1100px) {
  body[data-active-panel="project-practice"] .engineering-lab-hero {
    grid-template-columns: 1fr !important;
  }

  body[data-active-panel="project-practice"] .engineering-lab-task-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Engineering Lab entry polish: make this page feel like a real lab hub, not an empty category page. */
body[data-active-panel="project-practice"] .skill-training-map {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 28px 0 24px !important;
}

body[data-active-panel="project-practice"] .engineering-lab-entry {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  min-height: 210px !important;
  padding: 24px !important;
  border: 1px solid rgba(124, 92, 255, 0.18) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 92, 255, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96)) !important;
  box-shadow: 0 18px 42px rgba(32, 44, 84, 0.08) !important;
  color: #111827 !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
  cursor: pointer !important;
  font: inherit !important;
  overflow: hidden !important;
}

body[data-active-panel="project-practice"] .engineering-lab-entry:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(124, 92, 255, 0.36) !important;
  box-shadow: 0 24px 56px rgba(32, 44, 84, 0.12) !important;
}

body[data-active-panel="project-practice"] .engineering-lab-entry span {
  display: inline-flex !important;
  width: max-content !important;
  margin-bottom: 0 !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background: rgba(124, 87, 255, 0.12) !important;
  color: #754cff !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-entry strong {
  display: block !important;
  min-height: 62px !important;
  color: #0f172a !important;
  font-size: 20px !important;
  font-weight: 950 !important;
  line-height: 1.32 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-entry em {
  display: block !important;
  margin-top: 0 !important;
  color: #64748b !important;
  font-style: normal !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}

body[data-active-panel="project-practice"] .engineering-lab-entry b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  margin-top: auto !important;
  padding: 0 14px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #6f4dff, #4f8dff) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  box-shadow: 0 12px 24px rgba(111, 77, 255, 0.2) !important;
}

body[data-active-panel="project-practice"] .engineering-lab-secondary {
  opacity: 0.72 !important;
  transform: scale(0.985) !important;
  transform-origin: top center !important;
}

@media (max-width: 1180px) {
  body[data-active-panel="project-practice"] .skill-training-map {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body[data-active-panel="project-practice"] .skill-training-map {
    grid-template-columns: 1fr !important;
  }
}

body[data-active-panel="project-practice"] .engineering-entry-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 28px 0 24px !important;
}

body[data-active-panel="project-practice"] .engineering-entry-card {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  min-height: 210px !important;
  padding: 24px !important;
  border: 1px solid rgba(124, 92, 255, 0.18) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(124, 92, 255, 0.12), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96)) !important;
  box-shadow: 0 18px 42px rgba(32, 44, 84, 0.08) !important;
  color: #111827 !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
  cursor: pointer !important;
  font: inherit !important;
  overflow: hidden !important;
}

body[data-active-panel="project-practice"] .engineering-entry-card:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(124, 92, 255, 0.36) !important;
  box-shadow: 0 24px 56px rgba(32, 44, 84, 0.12) !important;
}

body[data-active-panel="project-practice"] .engineering-entry-card span {
  align-self: flex-start !important;
  width: max-content !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  background: rgba(124, 92, 255, 0.12) !important;
  color: #714cff !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

body[data-active-panel="project-practice"] .engineering-entry-card strong {
  display: block !important;
  color: #111827 !important;
  font-size: clamp(19px, 1.45vw, 24px) !important;
  line-height: 1.28 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

body[data-active-panel="project-practice"] .engineering-entry-card em {
  display: block !important;
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
  font-style: normal !important;
  font-weight: 800 !important;
  min-height: 48px !important;
}

body[data-active-panel="project-practice"] .engineering-entry-card b {
  margin-top: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  border-radius: 10px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #7448ff, #4b8cff) !important;
  box-shadow: 0 12px 24px rgba(102, 83, 255, 0.18) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

@media (max-width: 1180px) {
  body[data-active-panel="project-practice"] .engineering-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body[data-active-panel="project-practice"] .engineering-entry-grid {
    grid-template-columns: 1fr !important;
  }
}

/* V5 IA homepage final layout lock: keep the first screen as a simple product flow. */
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 24px !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card {
  width: 100% !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: stretch !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-training-command,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-v5-ai-advice,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-growth-panel,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-v5-job-match {
  min-height: 0 !important;
  height: auto !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-training-command .landing-command-grid,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-v5-job-match .landing-v5-job-grid {
  align-items: stretch !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-customize-home {
  display: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] #landingCustomizeHomeBtn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body[data-active-panel="landing"] #landingCustomizeHomeBtn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* V5 IA final lock: homepage cards must stack cleanly with one dominant action. */
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  align-items: start !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > .section-card {
  width: 100% !important;
  grid-column: 1 / -1 !important;
  grid-row: auto !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-v5-command-center {
  min-height: 392px !important;
  height: auto !important;
  overflow: visible !important;
  margin: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-grid {
  align-items: stretch !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card {
  min-height: 220px !important;
  height: auto !important;
  overflow: visible !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-ai-advice {
  min-height: 132px !important;
  height: auto !important;
  overflow: visible !important;
  margin: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-training-plan,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-section {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

/* Product-subtraction final lock v5.1: keep homepage to four user-facing modules. */
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > details.landing-v5-analysis-details,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-weekly-growth,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-hardware-focus,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-hardware-questions,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-training-heatmap,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-special-training,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-coach-card-bottom {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid {
  gap: 20px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-v5-command-center {
  min-height: 330px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-v5-change-match .landing-v5-signal-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-v5-command-card-primary strong {
  font-size: 42px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-v5-job-match-card b {
  display: inline-flex !important;
  width: max-content !important;
  max-width: 100% !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  color: #6d4cff !important;
  background: #f1ecff !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-v5-change-match .landing-v5-signal-list {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-section {
  width: 100% !important;
  min-height: 220px !important;
  padding: 28px !important;
  border-radius: 24px !important;
  border: 1px solid rgba(124, 77, 255, 0.12) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f8f4ff 100%) !important;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.07) !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-content {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, .8fr) 220px !important;
  gap: 18px !important;
  align-items: center !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-content > div {
  min-height: 116px !important;
  padding: 18px 20px !important;
  border: 1px solid rgba(124,77,255,.16) !important;
  border-radius: 18px !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 8px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-content span {
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-content strong {
  color: #0f172a !important;
  font-size: 26px !important;
  line-height: 1.2 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-content em {
  color: #64748b !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-content em b {
  color: #7c4dff !important;
  font-size: 28px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-content ul {
  min-height: 116px !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(249, 115, 22, 0.18) !important;
  border-radius: 18px !important;
  background: #fff7ed !important;
  display: grid !important;
  gap: 10px !important;
  list-style: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-content li {
  color: #ea580c !important;
  font-weight: 950 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-content .primary-btn {
  height: 54px !important;
  border-radius: 16px !important;
  font-weight: 950 !important;
}

/* V5 homepage decision-first layout v284. */
html body[data-active-panel="landing"] .landing-v5-target-gap {
  display: block !important;
  margin-top: 2px !important;
  color: #4f46e5 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-details {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 22px !important;
  border: 1px solid rgba(124, 77, 255, 0.12) !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-details > summary {
  min-height: 72px !important;
  padding: 0 24px !important;
  border-radius: 22px !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06) !important;
  color: #111827 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  list-style: none !important;
  user-select: none !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-details > summary::-webkit-details-marker {
  display: none !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-details > summary span {
  color: #111827 !important;
  font-size: 17px !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-details > summary em {
  flex: 1 !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-details > summary b {
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: #f1ecff !important;
  color: #7c4dff !important;
  display: grid !important;
  place-items: center !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  transform: rotate(0deg) !important;
  transition: transform 0.18s ease !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-details[open] > summary b {
  transform: rotate(90deg) !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-grid {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 24px !important;
  padding: 24px 0 0 !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-grid > article.section-card,
html body[data-active-panel="landing"] .landing-v5-analysis-grid > .section-card {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  min-height: auto !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06) !important;
  overflow: hidden !important;
  grid-column: span 12 !important;
  grid-row: auto !important;
  order: initial !important;
  opacity: 1 !important;
  transform: none !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-grid > .landing-focus-decision,
html body[data-active-panel="landing"] .landing-v5-analysis-grid > .landing-primary-recommendation,
html body[data-active-panel="landing"] .landing-v5-analysis-grid > .landing-route-card,
html body[data-active-panel="landing"] .landing-v5-analysis-grid > .landing-weekly-growth {
  grid-column: span 12 !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-grid > .landing-xiaowen-briefing,
html body[data-active-panel="landing"] .landing-v5-analysis-grid > .landing-hardware-focus,
html body[data-active-panel="landing"] .landing-v5-analysis-grid > .landing-hardware-questions,
html body[data-active-panel="landing"] .landing-v5-analysis-grid > .landing-training-heatmap,
html body[data-active-panel="landing"] .landing-v5-analysis-grid > .landing-coach-card-bottom {
  grid-column: span 6 !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-grid > .landing-special-training {
  grid-column: span 12 !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-grid > article.section-card.landing-coach-card-bottom {
  min-height: 180px !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-grid .landing-primary-recommendation {
  display: grid !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-grid .landing-route-card {
  display: grid !important;
}

html body[data-active-panel="landing"] .landing-v5-analysis-grid .landing-focus-decision {
  display: grid !important;
}

@media (max-width: 1180px) {
  html body[data-active-panel="landing"] .landing-v5-analysis-grid {
    grid-template-columns: 1fr !important;
  }

  html body[data-active-panel="landing"] .landing-v5-analysis-grid > article.section-card,
  html body[data-active-panel="landing"] .landing-v5-analysis-grid > .section-card {
    grid-column: 1 / -1 !important;
  }
}

/* Growth archive V5: merged growth report + ability profile + offer prediction. */
html body[data-active-panel="growth-profile"] .main {
  background: #f5f8fc !important;
}

.growth-archive-shell {
  padding: 24px;
}

.growth-archive-page {
  display: grid;
  gap: 24px;
  color: #0f172a;
}

.growth-archive-hero,
.growth-archive-card {
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.growth-archive-hero {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(220px, 0.8fr) minmax(360px, 1.3fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.growth-archive-person {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.growth-archive-avatar {
  width: 88px;
  height: 88px;
  padding: 0;
  border: 3px solid rgba(124, 77, 255, 0.22);
  border-radius: 50%;
  background: #eef2ff;
  overflow: hidden;
  flex: 0 0 88px;
  cursor: pointer;
}

.growth-archive-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.growth-archive-person p,
.growth-archive-card-head p,
.growth-archive-ai-summary p {
  margin: 0;
  color: #7c4dff;
  font-size: 13px;
  font-weight: 900;
}

.growth-archive-person h2,
.growth-archive-card-head h3,
.growth-archive-ai-summary h3 {
  margin: 6px 0;
  color: #111827;
  letter-spacing: 0;
}

.growth-archive-person h2 {
  font-size: 30px;
}

.growth-archive-person span {
  color: #64748b;
  font-size: 15px;
  font-weight: 800;
}

.growth-archive-score {
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.12), rgba(91, 140, 255, 0.08));
  border: 1px solid rgba(124, 77, 255, 0.2);
}

.growth-archive-score span,
.growth-archive-score em {
  color: #64748b;
  font-style: normal;
  font-weight: 800;
}

.growth-archive-score strong {
  color: #7c4dff;
  font-size: 64px;
  line-height: 1;
}

.growth-archive-score small {
  color: #64748b;
  font-size: 18px;
}

.growth-archive-ai-summary {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 248, 252, 0.9), rgba(241, 245, 249, 0.35));
}

.growth-archive-ai-summary h3 {
  font-size: 18px;
  line-height: 1.6;
}

.growth-archive-ai-summary div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.growth-archive-ai-summary span {
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  background: #fff;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.growth-archive-ai-summary strong {
  display: block;
  color: #111827;
  font-size: 18px;
}

.growth-archive-answer-strip,
.growth-archive-suggestions {
  display: grid;
  gap: 16px;
}

.growth-archive-answer-strip {
  grid-template-columns: 1fr 1.2fr 1fr 1.25fr 1.25fr;
}

.growth-archive-answer-strip article,
.growth-archive-suggestion {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

.growth-archive-answer-strip span,
.growth-archive-suggestion span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.growth-archive-answer-strip strong,
.growth-archive-suggestion strong {
  display: block;
  margin-top: 6px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
}

.growth-archive-answer-strip p,
.growth-archive-suggestion p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.growth-archive-answer-action {
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(91, 140, 255, 0.07)) !important;
  border-color: rgba(124, 77, 255, 0.22) !important;
}

.growth-archive-answer-action .primary-btn {
  margin-top: 12px;
  width: 100%;
  min-height: 40px;
}

.growth-archive-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
}

.growth-archive-two-col:nth-of-type(3) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.growth-archive-card {
  padding: 22px;
  min-width: 0;
}

.growth-archive-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.growth-archive-card-head h3 {
  font-size: 22px;
}

.growth-archive-card-head > span,
.growth-archive-legend {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 800;
}

.growth-archive-radar-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(180px, 1fr);
  gap: 18px;
  align-items: center;
}

.growth-archive-radar {
  width: 100%;
  max-width: 360px;
  min-height: 280px;
}

.growth-archive-radar text {
  fill: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.growth-archive-radar-notes {
  display: grid;
  gap: 10px;
}

.growth-archive-radar-notes strong {
  color: #111827;
  margin-top: 8px;
}

.growth-archive-radar-notes span {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
}

.growth-archive-radar-notes .strong {
  color: #047857;
  background: rgba(34, 197, 94, 0.12);
}

.growth-archive-radar-notes .weak {
  color: #ea580c;
  background: rgba(251, 146, 60, 0.14);
}

.growth-archive-skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.growth-archive-skill-domain {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: #fbfdff;
}

.growth-archive-domain-head,
.growth-archive-skill-row {
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(90px, 1.2fr) 42px 44px;
  align-items: center;
  gap: 10px;
}

.growth-archive-domain-head {
  margin-bottom: 10px;
  color: #111827;
  font-weight: 900;
}

.growth-archive-domain-head span {
  grid-column: 3 / 5;
  color: #7c4dff;
  text-align: right;
}

.growth-archive-skill-row {
  width: 100%;
  min-height: 34px;
  border: 0;
  background: transparent;
  color: #475569;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.growth-archive-skill-row i {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.growth-archive-skill-row i em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c4dff, #5b8cff);
}

.growth-archive-skill-row strong {
  text-align: right;
  font-weight: 900;
}

.growth-archive-skill-row strong.strong {
  color: #16a34a;
}

.growth-archive-skill-row strong.good {
  color: #2563eb;
}

.growth-archive-skill-row strong.weak {
  color: #ea580c;
}

.growth-archive-skill-row small {
  color: #94a3b8;
  font-weight: 800;
}

.growth-archive-projects,
.growth-archive-job-list,
.growth-archive-plan {
  display: grid;
  gap: 12px;
}

.growth-archive-tags-card {
  background: linear-gradient(135deg, #fff, rgba(91, 140, 255, 0.045));
}

.growth-archive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.growth-archive-tags button {
  display: grid;
  gap: 4px;
  min-width: 136px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.growth-archive-tags button span {
  font-size: 11px;
  font-weight: 900;
}

.growth-archive-tags button strong {
  color: #111827;
  font-size: 15px;
  line-height: 1.25;
}

.growth-archive-tags button.strong {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.08);
}

.growth-archive-tags button.strong span {
  color: #16a34a;
}

.growth-archive-tags button.growing {
  border-color: rgba(91, 140, 255, 0.25);
  background: rgba(91, 140, 255, 0.08);
}

.growth-archive-tags button.growing span {
  color: #2563eb;
}

.growth-archive-tags button.weak {
  border-color: rgba(249, 115, 22, 0.25);
  background: rgba(249, 115, 22, 0.08);
}

.growth-archive-tags button.weak span {
  color: #ea580c;
}

.growth-archive-project,
.growth-archive-job-list button,
.growth-archive-plan button {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: #fff;
  color: #111827;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.growth-archive-project:hover,
.growth-archive-job-list button:hover,
.growth-archive-plan button:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 77, 255, 0.35);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.growth-archive-project {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px;
  gap: 6px 12px;
  padding: 16px;
}

.growth-archive-project span,
.growth-archive-job-list strong,
.growth-archive-plan strong {
  font-size: 16px;
  font-weight: 900;
}

.growth-archive-project strong,
.growth-archive-job-list span {
  color: #7c4dff;
  font-size: 24px;
  font-weight: 950;
  text-align: right;
}

.growth-archive-project p,
.growth-archive-project em,
.growth-archive-job-list p,
.growth-archive-job-list em,
.growth-archive-plan p {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font-style: normal;
  font-weight: 750;
  line-height: 1.45;
}

.growth-archive-impression {
  display: grid;
  gap: 14px;
}

.growth-archive-impression section {
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
}

.growth-archive-impression h4 {
  margin: 0 0 8px;
  color: #111827;
}

.growth-archive-impression p {
  margin: 8px 0;
  color: #475569;
  font-weight: 800;
  line-height: 1.55;
}

.growth-archive-impression button {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(124, 77, 255, 0.2);
  border-radius: 14px;
  background: rgba(124, 77, 255, 0.08);
  color: #5b21b6;
  font-weight: 900;
  text-align: left;
}

.growth-archive-job-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.growth-archive-job-list button {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.growth-archive-job-list button.active {
  border-color: rgba(124, 77, 255, 0.55);
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.12), rgba(91, 140, 255, 0.08));
}

.growth-archive-evidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.growth-archive-evidence article {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: #fbfdff;
}

.growth-archive-evidence article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  color: #7c4dff;
  font-weight: 950;
}

.growth-archive-evidence span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.1);
  color: #7c4dff;
  font-weight: 900;
}

.growth-archive-evidence strong {
  display: block;
  margin-top: 12px;
  color: #111827;
  font-size: 34px;
  line-height: 1;
}

.growth-archive-evidence h4 {
  margin: 10px 0;
  color: #111827;
}

.growth-archive-evidence p,
.growth-archive-evidence em {
  margin: 0;
  color: #64748b;
  font-style: normal;
  font-weight: 750;
  line-height: 1.5;
}

.growth-archive-next {
  background: linear-gradient(135deg, #fff, rgba(124, 77, 255, 0.05));
}

.growth-archive-plan {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.growth-archive-plan button {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 16px;
}

.growth-archive-plan span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c4dff, #5b8cff);
  color: #fff;
  font-weight: 950;
}

.growth-archive-plan em {
  color: #7c4dff;
  font-style: normal;
  font-weight: 900;
}

.growth-archive-plan p {
  grid-column: 2 / 4;
}

.growth-archive-suggestions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.growth-archive-suggestion {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 188px;
}

.growth-archive-suggestion .ghost-btn {
  align-self: end;
  margin-top: 8px;
  width: max-content;
}

.growth-archive-suggestion.优先提升 {
  background: linear-gradient(135deg, #fff, rgba(249, 115, 22, 0.08));
}

.growth-archive-suggestion.保持优势 {
  background: linear-gradient(135deg, #fff, rgba(34, 197, 94, 0.08));
}

.growth-archive-suggestion.长期发展 {
  background: linear-gradient(135deg, #fff, rgba(91, 140, 255, 0.08));
}

@media (max-width: 1280px) {
  .growth-archive-hero,
  .growth-archive-answer-strip,
  .growth-archive-two-col,
  .growth-archive-two-col:nth-of-type(3),
  .growth-archive-suggestions {
    grid-template-columns: 1fr;
  }

  .growth-archive-ai-summary div,
  .growth-archive-plan,
  .growth-archive-evidence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .growth-archive-shell {
    padding: 16px;
  }

  .growth-archive-radar-wrap,
  .growth-archive-skill-grid,
  .growth-archive-job-list,
  .growth-archive-ai-summary div,
  .growth-archive-plan,
  .growth-archive-evidence {
    grid-template-columns: 1fr;
  }

  .growth-archive-evidence article::after {
    display: none;
  }
}

/* Project Practice v1: hardware project authenticity cockpit. */
html:not(.react-student-embedded) body[data-active-panel="project-practice"] {
  background: #f5f8fc !important;
}

.project-practice-shell {
  padding: 24px;
}

.project-practice-page {
  display: grid;
  gap: 22px;
  color: #0f172a;
}

.project-practice-detail {
  display: grid;
  gap: 22px;
}

.project-practice-home {
  display: grid;
  gap: 18px;
}

.project-home-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 2px 0;
}

.project-home-title p {
  margin: 0 0 4px;
  color: #7c4dff;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.project-home-title h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 0;
}

.project-home-title span {
  max-width: 440px;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
}

.project-today-card,
.project-all-projects {
  background: #fff;
  border: 1px solid rgba(124, 77, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.project-today-card {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 18%, rgba(124, 77, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f6f9ff 58%, #f1efff 100%);
}

.project-today-copy {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
}

.project-today-copy > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.12);
  color: #7c4dff;
  font-size: 13px;
  font-weight: 1000;
}

.project-today-copy h3 {
  margin: 0;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
}

.project-today-copy p {
  max-width: 780px;
  margin: 0;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 800;
}

.project-today-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(118px, 1fr));
  gap: 12px;
  width: min(760px, 100%);
}

.project-today-meta div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(124, 77, 255, 0.12);
}

.project-today-meta em {
  display: block;
  margin-bottom: 4px;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.project-today-meta strong {
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  font-weight: 1000;
  white-space: nowrap;
}

.project-today-progress {
  width: min(760px, 100%);
  height: 10px;
  border-radius: 999px;
  background: #e9edf7;
  overflow: hidden;
}

.project-today-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c4dff, #5b8cff);
  box-shadow: 0 8px 20px rgba(124, 77, 255, 0.22);
}

.project-today-panel {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(124, 77, 255, 0.13);
  background:
    radial-gradient(circle at 22% 18%, rgba(91, 140, 255, 0.18), transparent 28%),
    rgba(255, 255, 255, 0.72);
}

.project-today-panel strong {
  color: #0f172a;
  font-size: 18px;
  font-weight: 1000;
}

.project-today-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-today-panel .project-today-loop-tags {
  gap: 8px;
  padding-top: 2px;
}

.project-today-panel span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.1);
  color: #6741d9;
  font-size: 13px;
  font-weight: 1000;
}

.project-today-panel .project-today-loop-tags span {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  background: rgba(34, 197, 94, 0.08);
  color: #047857;
  font-size: 12px;
}

.project-today-panel p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 800;
}

.project-home-loop-strip {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid rgba(124, 77, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 77, 255, 0.12), transparent 30%),
    #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.project-home-loop-strip div {
  display: grid;
  gap: 4px;
}

.project-home-loop-strip span {
  color: #7c4dff;
  font-size: 12px;
  font-weight: 1000;
}

.project-home-loop-strip strong {
  color: #0f172a;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 1000;
}

.project-home-loop-strip ol {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-home-loop-strip li {
  position: relative;
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #f6f8ff;
  border: 1px solid rgba(91, 140, 255, 0.14);
  color: #334155;
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
}

.project-home-loop-strip li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b5cf6;
  font-size: 14px;
  font-weight: 1000;
}

.project-home-loop-strip li:first-child,
.project-home-loop-strip li:last-child {
  background: rgba(124, 77, 255, 0.1);
  color: #6d28d9;
}

.project-all-projects {
  padding: 20px;
}

.project-all-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.project-all-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.project-all-head span {
  color: #94a3b8;
  font-size: 13px;
  font-weight: 900;
}

.project-home-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.project-home-card {
  min-height: 266px;
  display: grid;
  grid-template-rows: auto auto auto auto auto auto auto;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #fff;
  color: #0f172a;
  text-align: left;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.project-home-card.active {
  border-color: rgba(124, 77, 255, 0.42);
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(91, 140, 255, 0.06));
}

.project-home-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.project-home-card-top span {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 1000;
}

.project-home-card-top strong {
  color: #7c4dff;
  font-size: 22px;
  line-height: 1;
  font-weight: 1000;
}

.project-home-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.project-home-card dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.project-home-card dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.project-home-card dd {
  margin: 0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 1000;
  white-space: nowrap;
}

.project-home-abilities {
  display: grid;
  gap: 8px;
}

.project-home-abilities > span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.project-home-abilities p {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.project-home-abilities em {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.1);
  color: #6741d9;
  font-size: 11px;
  font-style: normal;
  font-weight: 1000;
}

.project-home-loop-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-home-loop-tags span {
  min-height: 23px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(91, 140, 255, 0.16);
  background: rgba(91, 140, 255, 0.08);
  color: #2563eb;
  font-size: 11px;
  line-height: 1;
  font-weight: 1000;
  white-space: nowrap;
}

.project-home-card > em {
  color: #334155;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.project-home-card i {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: #e8edf6;
  overflow: hidden;
}

.project-home-card b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c4dff, #5b8cff);
}

.project-card-action {
  width: 100%;
  justify-content: center;
  min-height: 38px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 1000;
}

.project-practice-hero,
.project-loop-board,
.project-pack-selector,
.project-practice-card,
.project-coach-panel {
  background: #fff;
  border: 1px solid rgba(124, 77, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.project-practice-hero {
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: stretch;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(124, 77, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #fff 0%, #f6f9ff 58%, #f1efff 100%);
}

.project-practice-hero-copy p:first-child,
.project-card-head p,
.project-coach-head p {
  margin: 0 0 8px;
  color: #7c4dff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-practice-hero-copy h2 {
  margin: 0;
  max-width: 720px;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

.project-practice-hero-copy > p:last-of-type {
  max-width: 760px;
  margin: 16px 0 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 700;
}

.project-practice-goals,
.project-module-row,
.project-followup-list,
.project-coach-answer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.project-practice-goals span,
.project-module-row span,
.project-coach-answer em {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.1);
  color: #6741d9;
  font-size: 13px;
  font-weight: 900;
  font-style: normal;
}

.project-practice-score-card {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(124, 77, 255, 0.16);
}

.project-practice-score-card span,
.project-authenticity-card span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
}

.project-practice-score-card strong,
.project-authenticity-card strong {
  color: #7c4dff;
  font-size: 52px;
  line-height: 1;
  letter-spacing: 0;
}

.project-practice-score-card em {
  color: #22c55e;
  font-style: normal;
  font-weight: 900;
}

.project-loop-board {
  display: grid;
  gap: 16px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.98)),
    linear-gradient(90deg, rgba(124, 77, 255, 0.08), rgba(91, 140, 255, 0.04));
}

.project-loop-journey {
  grid-column: 1 / -1;
}

.project-loop-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.project-loop-heading p {
  margin: 0 0 6px;
  color: #7c4dff;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-loop-heading h3 {
  margin: 0;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 1000;
}

.project-loop-heading span {
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.project-loop-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-loop-step {
  position: relative;
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #fff;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.project-loop-step.done {
  border-color: rgba(34, 197, 94, 0.28);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.78), #fff);
}

.project-loop-step.active {
  border-color: rgba(124, 77, 255, 0.48);
  box-shadow: 0 14px 36px rgba(124, 77, 255, 0.14);
}

.project-loop-step.pending {
  opacity: .78;
}

.project-loop-step::after {
  content: "";
  position: absolute;
  inset: auto 16px 14px 16px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c4dff, #5b8cff);
  opacity: .78;
}

.project-loop-step i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(124, 77, 255, 0.12);
  color: #7c4dff;
  font-size: 13px;
  font-style: normal;
  font-weight: 1000;
}

.project-loop-step.done i {
  background: #22c55e;
  color: #fff;
}

.project-loop-step.active i {
  background: #7c4dff;
  color: #fff;
}

.project-loop-step span {
  color: #64748b;
  font-size: 12px;
  font-weight: 1000;
}

.project-loop-step strong {
  min-height: 40px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 1000;
}

.project-loop-step em {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  font-style: normal;
  font-weight: 800;
}

.project-loop-step b {
  margin-top: 3px;
  color: #6741d9;
  font-size: 12px;
  font-weight: 1000;
}

.project-loop-step.done b {
  color: #16a34a;
}

.project-loop-step.pending b {
  color: #94a3b8;
}

.project-loop-step.home::after,
.project-loop-step.home_update::after {
  background: linear-gradient(90deg, #22c55e, #5b8cff);
}

.project-loop-step.project::after {
  background: linear-gradient(90deg, #7c4dff, #a78bfa);
}

.project-loop-step.case::after,
.project-loop-step.interview::after {
  background: linear-gradient(90deg, #5b8cff, #7c4dff);
}

.project-loop-step.debug::after {
  background: linear-gradient(90deg, #fb923c, #7c4dff);
}

.project-loop-step.waveform::after {
  background: linear-gradient(90deg, #38bdf8, #22c55e);
}

.project-loop-step.ai_score::after {
  background: linear-gradient(90deg, #f97316, #7c4dff);
}

.project-loop-step.growth::after,
.project-loop-step.growth_archive::after {
  background: linear-gradient(90deg, #22c55e, #7c4dff);
}

.project-pack-selector {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.project-pack-selector button {
  min-height: 132px;
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #fff;
  color: #0f172a;
  text-align: left;
  cursor: pointer;
}

.project-pack-selector button.active {
  border-color: rgba(124, 77, 255, 0.42);
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(91, 140, 255, 0.06));
  box-shadow: 0 12px 26px rgba(124, 77, 255, 0.14);
}

.project-pack-selector span {
  color: #7c4dff;
  font-size: 12px;
  font-weight: 900;
}

.project-pack-selector strong {
  font-size: 16px;
  line-height: 1.3;
}

.project-pack-selector em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.project-pack-selector i {
  justify-self: end;
  color: #22c55e;
  font-size: 20px;
  font-style: normal;
  font-weight: 1000;
}

.project-practice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.project-practice-main {
  display: grid;
  gap: 18px;
}

.project-practice-card,
.project-coach-panel {
  padding: 20px;
}

.project-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.project-card-head h3,
.project-coach-head h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.project-card-head > span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(91, 140, 255, 0.1);
  color: #5b8cff;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.project-background-card > p {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 700;
}

.project-evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.project-schematic-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.project-schematic-flow span {
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 900;
}

.project-schematic-flow i {
  color: #94a3b8;
  font-style: normal;
  font-weight: 900;
}

.project-test-data-list {
  display: grid;
  gap: 10px;
}

.project-test-data-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 12px;
  border-radius: 14px;
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.project-test-data-list span,
.project-test-data-list strong {
  font-weight: 900;
}

.project-test-data-list em,
.project-test-data-list i {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.project-waveform-card,
.project-debug-case-card {
  min-height: 360px;
}

.project-waveform-svg {
  width: 100%;
  height: 260px;
  border-radius: 18px;
  display: block;
}

.project-debug-steps {
  display: grid;
  gap: 10px;
}

.project-debug-steps p {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fbff;
  color: #334155;
  font-weight: 800;
}

.project-debug-steps span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #7c4dff;
  color: #fff;
  font-size: 12px;
}

.project-debug-case-card > strong {
  display: block;
  margin-top: 14px;
  color: #0f172a;
  line-height: 1.6;
}

.project-followup-list button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(124, 77, 255, 0.18);
  background: rgba(124, 77, 255, 0.08);
  color: #6741d9;
  font-weight: 900;
}

.project-coach-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.project-coach-head span {
  color: #64748b;
  font-weight: 800;
}

.project-authenticity-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(34, 197, 94, 0.08));
  border: 1px solid rgba(124, 77, 255, 0.16);
}

.project-authenticity-card strong {
  display: block;
  margin: 8px 0 10px;
}

.project-authenticity-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.project-authenticity-card div {
  display: grid;
  gap: 3px;
}

.project-authenticity-card dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.project-authenticity-card dd {
  margin: 0;
  color: #0f172a;
  font-weight: 900;
  line-height: 1.45;
}

.project-coach-question-list {
  display: grid;
  gap: 10px;
}

.project-coach-question-list button {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #fff;
  color: #0f172a;
  text-align: left;
  font-weight: 900;
}

.project-coach-question-list button.active {
  color: #6741d9;
  border-color: rgba(124, 77, 255, 0.36);
  background: rgba(124, 77, 255, 0.08);
}

.project-coach-answer {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.project-coach-answer span {
  color: #7c4dff;
  font-size: 12px;
  font-weight: 900;
}

.project-coach-answer h4,
.project-coach-answer p {
  margin: 0;
}

.project-coach-answer p {
  color: #475569;
  line-height: 1.65;
  font-weight: 800;
}

.project-coach-answer strong {
  color: #ef4444;
  line-height: 1.55;
}

.project-practice-detail {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.project-detail-section {
  grid-column: 1;
  min-width: 0;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(124, 77, 255, 0.12);
  background: #fff;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}

.project-detail-section[aria-label="AI项目教练"] {
  grid-column: 2;
  grid-row: 2 / span 8;
  position: sticky;
  top: 92px;
  align-self: start;
}

.project-section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.project-section-head > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(124, 77, 255, 0.12);
  color: #7c4dff;
  font-size: 13px;
  font-weight: 1000;
}

.project-section-head p,
.project-section-head h3 {
  margin: 0;
}

.project-section-head p {
  color: #7c4dff;
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-section-head h3 {
  margin-top: 3px;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 1000;
}

.project-intro-layout,
.project-debug-layout,
.project-waveform-layout,
.project-summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: stretch;
}

.project-section-intro .project-intro-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.64fr);
}

.project-intro-copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.project-section-kicker {
  width: max-content;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.12);
  color: #7c4dff;
  font-size: 12px;
  font-weight: 1000;
}

.project-intro-copy h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0;
}

.project-intro-copy > p:not(.project-section-kicker) {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 800;
}

.project-intro-meta,
.project-intro-specs,
.project-summary-learned {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-intro-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.project-intro-facts span {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: #f8fbff;
}

.project-intro-facts b {
  color: #64748b;
  font-size: 12px;
  font-weight: 1000;
}

.project-intro-facts strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-intro-meta span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.16);
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.project-intro-specs span,
.project-summary-learned span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.1);
  color: #6741d9;
  font-size: 12px;
  font-weight: 1000;
}

.project-protection-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(34, 197, 94, 0.16);
  background: rgba(34, 197, 94, 0.07);
}

.project-protection-row b {
  color: #16a34a;
  font-size: 13px;
  font-weight: 1000;
}

.project-protection-row div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-protection-row span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: #fff;
  color: #15803d;
  font-size: 12px;
  font-weight: 1000;
}

.project-intro-score,
.project-intro-diagram,
.project-debug-layout aside,
.project-waveform-layout aside {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(124, 77, 255, 0.15);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 77, 255, 0.12), transparent 38%),
    #f8fbff;
}

.project-intro-diagram {
  align-content: stretch;
  justify-items: stretch;
  gap: 12px;
}

.project-mini-system-head {
  display: grid;
  gap: 6px;
}

.project-mini-system-head span {
  color: #7c4dff;
  font-size: 12px;
  font-weight: 1000;
}

.project-mini-system-head strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-mini-system-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.project-mini-system-flow button {
  min-height: 70px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid rgba(124, 77, 255, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.project-mini-system-flow button:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 77, 255, 0.42);
}

.project-mini-system-flow button i {
  color: #7c4dff;
  font-style: normal;
  font-size: 12px;
  font-weight: 1000;
}

.project-mini-system-flow button span {
  overflow: hidden;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-mini-system-flow em {
  display: none;
}

.project-intro-diagram > p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-weight: 850;
}

.project-intro-score span,
.project-debug-layout aside span,
.project-waveform-layout aside span,
.project-coach-next span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.project-intro-score strong {
  color: #7c4dff;
  font-size: 48px;
  line-height: 1;
  font-weight: 1000;
}

.project-intro-score em,
.project-waveform-layout aside p {
  margin: 0;
  color: #475569;
  font-style: normal;
  line-height: 1.55;
  font-weight: 800;
}

.project-context-copy {
  margin: 8px 0 12px;
  color: #475569;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 800;
}

.project-context-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.project-context-chip-list span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(124, 77, 255, 0.16);
  background: rgba(124, 77, 255, 0.08);
  color: #6741d9;
  font-size: 12px;
  font-weight: 1000;
}

.project-context-chip-list.compact {
  margin: 4px 0 2px;
}

.project-debug-layout aside em,
.project-waveform-layout aside em,
.project-waveform-layout aside small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.5;
  font-style: normal;
  font-weight: 900;
}

.project-architecture-layout {
  display: grid;
  gap: 14px;
}

.project-architecture-board {
  display: flex;
  align-items: stretch;
  gap: 8px;
  overflow-x: auto;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(124, 77, 255, 0.12);
  background:
    linear-gradient(rgba(124, 77, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 77, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 18% 18%, rgba(91, 140, 255, 0.12), transparent 30%),
    #f8fbff;
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.project-architecture-node {
  position: relative;
  flex: 1 0 132px;
  min-height: 138px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(124, 77, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.project-architecture-node:hover {
  border-color: rgba(124, 77, 255, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(124, 77, 255, 0.14);
}

.project-architecture-node span {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.12);
  color: #6741d9;
  font-size: 12px;
  font-weight: 1000;
}

.project-architecture-node strong {
  overflow: hidden;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-architecture-node em {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
  font-style: normal;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-architecture-node small {
  margin-top: auto;
  color: #475569;
  font-size: 12px;
  font-weight: 1000;
}

.project-architecture-node[data-arch-tone="power"] span {
  background: rgba(34, 197, 94, 0.13);
  color: #16a34a;
}

.project-architecture-node[data-arch-tone="mos"] span,
.project-architecture-node[data-arch-tone="motion"] span {
  background: rgba(249, 115, 22, 0.13);
  color: #ea580c;
}

.project-architecture-node[data-arch-tone="bus"] span,
.project-architecture-node[data-arch-tone="sensor"] span {
  background: rgba(91, 140, 255, 0.14);
  color: #2563eb;
}

.project-architecture-arrow {
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  align-self: center;
  color: #7c4dff;
  font-style: normal;
  font-weight: 1000;
}

.project-architecture-flow button {
  min-height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(124, 77, 255, 0.18);
  background: #f8fbff;
  color: #0f172a;
  font-weight: 1000;
  cursor: pointer;
}

.project-architecture-flow button:hover {
  border-color: rgba(124, 77, 255, 0.42);
  color: #6741d9;
  transform: translateY(-1px);
}

.project-architecture-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(124, 77, 255, 0.08), rgba(91, 140, 255, 0.06));
  border: 1px solid rgba(124, 77, 255, 0.12);
}

.project-architecture-note strong,
.project-architecture-note p,
.project-debug-layout h4,
.project-summary-layout h4,
.project-coach-next h4 {
  margin: 0;
}

.project-architecture-note p {
  margin-top: 6px;
  color: #475569;
  line-height: 1.6;
  font-weight: 800;
}

.project-learning-route-section {
  gap: 16px;
}

.project-route-overview {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(124, 77, 255, 0.14);
  background: linear-gradient(120deg, rgba(124, 77, 255, 0.1), rgba(91, 140, 255, 0.06), #fff);
}

.project-route-overview div,
.project-route-step,
.project-route-step-main,
.project-route-step-foot {
  min-width: 0;
}

.project-route-overview span,
.project-route-overview em {
  display: block;
  color: #64748b;
  font-style: normal;
  font-weight: 900;
}

.project-route-overview strong {
  display: block;
  color: #7c4dff;
  font-size: 36px;
  line-height: 1.05;
  font-weight: 1000;
}

.project-route-overview p {
  margin: 0;
  color: #334155;
  line-height: 1.7;
  font-weight: 850;
}

.project-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.project-route-step {
  min-height: 176px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-content: start;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #fff;
  color: #0f172a;
  text-align: left;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.project-route-step.is-next {
  border-color: rgba(124, 77, 255, 0.34);
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(255, 255, 255, 0.96));
  box-shadow: 0 14px 30px rgba(124, 77, 255, 0.12);
}

.project-route-step i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: rgba(124, 77, 255, 0.12);
  color: #7c4dff;
  font-style: normal;
  font-weight: 1000;
}

.project-route-step[data-route-status="done"] i {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.project-route-step[data-route-status="weak"] i {
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
}

.project-route-step span {
  display: block;
  overflow: hidden;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 1000;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-route-step strong {
  justify-self: end;
  color: #7c4dff;
  font-size: 26px;
  line-height: 1;
  font-weight: 1000;
}

.project-route-step em {
  display: -webkit-box;
  min-height: 38px;
  margin-top: 6px;
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
  font-style: normal;
  font-weight: 850;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-route-step b {
  color: #6741d9;
  font-size: 12px;
  font-weight: 1000;
}

.project-route-step small {
  grid-column: 1 / -1;
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #e8edf6;
  overflow: hidden;
}

.project-route-step small u {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c4dff, #5b8cff);
}

.project-route-step[data-route-status="done"] small u {
  background: linear-gradient(90deg, #22c55e, #5b8cff);
}

.project-route-step[data-route-status="weak"] small u {
  background: linear-gradient(90deg, #f97316, #fb7185);
}

.project-route-step-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-route-step-foot button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(124, 77, 255, 0.18);
  background: rgba(124, 77, 255, 0.08);
  color: #6741d9;
  font-weight: 1000;
  cursor: pointer;
}

.project-route-step-foot button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #7c4dff, #5b8cff);
  color: #fff;
}

.project-source-hub {
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) 1.24fr;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(124, 77, 255, 0.14);
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.08), rgba(91, 140, 255, 0.04));
}

.project-source-hub strong {
  display: block;
  color: #111827;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 1000;
}

.project-source-hub p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 800;
}

.project-source-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.project-source-list button {
  min-height: 58px;
  padding: 9px 10px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.78);
  color: #334155;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.project-source-list button:hover,
.project-source-list button.active {
  border-color: rgba(124, 77, 255, 0.36);
  background: #fff;
  transform: translateY(-1px);
}

.project-source-list span,
.project-source-list b,
.project-source-list small {
  display: block;
}

.project-source-list span {
  font-size: 12px;
  font-weight: 1000;
}

.project-source-list b {
  margin-top: 2px;
  color: #7c4dff;
  font-size: 18px;
  line-height: 1;
  font-weight: 1000;
}

.project-source-list small {
  margin-top: 3px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 900;
}

.project-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-case-grid article {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #fff;
}

.project-case-grid article span,
.project-case-grid article i {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.project-case-grid article strong {
  color: #0f172a;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 1000;
}

.project-case-grid article em {
  min-height: 58px;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
  font-style: normal;
  font-weight: 800;
}

.project-case-template-preview {
  display: grid;
  gap: 5px;
  padding: 8px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.project-case-template-preview p {
  margin: 0;
  color: #475569;
  font-size: 11px;
  line-height: 1.42;
  font-weight: 850;
}

.project-case-template-preview b {
  color: #0f172a;
  font-weight: 1000;
}

.project-case-grid article .project-case-source {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #f8fafc;
  color: #64748b;
}

.project-case-grid article .project-case-source.debug {
  background: rgba(124, 77, 255, 0.1);
  color: #6d3df3;
}

.project-case-grid article .project-case-source.waveform {
  background: rgba(14, 165, 233, 0.1);
  color: #0284c7;
}

.project-case-grid article .project-case-source.audio {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.project-case-grid article .project-case-source.official {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.project-case-grid article .project-case-source.ai {
  background: rgba(236, 72, 153, 0.1);
  color: #db2777;
}

.project-case-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.project-case-actions button:first-child {
  grid-column: 1 / -1;
}

.project-case-actions button {
  min-height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(124, 77, 255, 0.18);
  background: rgba(124, 77, 255, 0.08);
  color: #6741d9;
  font-size: 12px;
  font-weight: 1000;
  cursor: pointer;
}

.project-case-detail-panel {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(124, 77, 255, 0.2);
  background:
    radial-gradient(circle at top left, rgba(124, 77, 255, 0.1), transparent 28%),
    linear-gradient(135deg, #fff, #f8fbff);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.project-case-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
}

.project-case-detail-head span,
.project-case-flow b {
  color: #7c4dff;
  font-size: 12px;
  font-weight: 1000;
}

.project-case-detail-head h4 {
  margin: 5px 0 8px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 1000;
}

.project-case-detail-head p {
  max-width: 820px;
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 800;
}

.project-case-detail-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.project-case-detail-actions button {
  min-height: 36px;
  padding: 0 13px;
  border-radius: 12px;
  border: 1px solid rgba(124, 77, 255, 0.2);
  background: #fff;
  color: #6741d9;
  font-size: 12px;
  font-weight: 1000;
  cursor: pointer;
}

.project-case-detail-actions button:nth-child(2) {
  color: #fff;
  background: linear-gradient(135deg, #7c4dff, #5b8cff);
}

.project-case-template-section {
  grid-column: 1 / -1;
}

.project-case-template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.project-case-template-grid div {
  min-height: 86px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 77, 255, 0.08), transparent 34%),
    #fff;
}

.project-case-template-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.1);
  color: #6d3df3;
  font-size: 11px;
  font-weight: 1000;
}

.project-case-template-grid p {
  margin: 8px 0 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 850;
}

.project-case-xiaowen {
  display: grid;
  gap: 14px;
  margin: 16px 0 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(124, 77, 255, 0.18);
  background:
    radial-gradient(circle at 8% 0%, rgba(124, 77, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.94));
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.project-case-xiaowen.compact {
  margin: 0;
  box-shadow: none;
}

.project-case-xiaowen-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
}

.project-case-xiaowen-head span {
  color: #7c4dff;
  font-size: 12px;
  font-weight: 1000;
}

.project-case-xiaowen-head h4 {
  margin: 4px 0 7px;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 1000;
}

.project-case-xiaowen-head p {
  max-width: 760px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 850;
}

.project-case-xiaowen-head > strong {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.1);
  color: #6741d9;
  font-size: 12px;
  font-weight: 1000;
  white-space: nowrap;
}

.project-case-xiaowen-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-case-xiaowen-prompts span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(91, 140, 255, 0.1);
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
}

.project-case-xiaowen-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-case-xiaowen-modes section {
  min-height: 188px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.92);
}

.project-case-xiaowen-modes section[data-case-mode="engineering"] {
  border-color: rgba(124, 77, 255, 0.2);
  background: rgba(124, 77, 255, 0.07);
}

.project-case-xiaowen-modes section[data-case-mode="interview"] {
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.06);
}

.project-case-xiaowen-modes em {
  color: #7c4dff;
  font-size: 12px;
  font-style: normal;
  font-weight: 1000;
}

.project-case-xiaowen-modes strong {
  color: #0f172a;
  font-size: 17px;
  line-height: 1.25;
  font-weight: 1000;
}

.project-case-xiaowen-modes p {
  margin: 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 850;
}

.project-case-xiaowen-modes div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.project-case-xiaowen-modes div span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
}

.project-case-xiaowen-modes button {
  align-self: end;
  justify-self: start;
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c4dff, #5b8cff);
  color: #fff;
  font-size: 12px;
  font-weight: 1000;
  cursor: pointer;
}

.project-my-assistant {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(124, 58, 237, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.project-my-assistant-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.project-my-assistant-head span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: #6d28d9;
  font-size: 12px;
  font-weight: 900;
}

.project-my-assistant-head h3 {
  margin: 10px 0 6px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: 0;
}

.project-my-assistant-head p,
.project-xiaowen-project-preview span,
.project-xiaowen-architecture p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.project-xiaowen-project-preview {
  padding: 14px 16px;
  border: 1px dashed rgba(124, 58, 237, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
}

.project-xiaowen-project-assistant {
  display: grid;
  gap: 14px;
}

.project-xiaowen-analysis-main,
.project-xiaowen-answer-grid section,
.project-xiaowen-analysis-grid section,
.project-xiaowen-architecture {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.project-xiaowen-analysis-main {
  padding: 18px;
}

.project-xiaowen-analysis-main span,
.project-xiaowen-answer-grid em,
.project-xiaowen-analysis-grid em,
.project-xiaowen-architecture > span {
  display: block;
  margin-bottom: 8px;
  color: #7c3aed;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.project-xiaowen-analysis-main strong {
  display: block;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.65;
}

.project-xiaowen-answer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 14px;
}

.project-xiaowen-answer-grid section,
.project-xiaowen-analysis-grid section,
.project-xiaowen-architecture {
  padding: 16px;
}

.project-xiaowen-answer-grid p {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.72;
}

.project-xiaowen-analysis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-xiaowen-analysis-grid span,
.project-xiaowen-analysis-grid button {
  display: block;
  width: 100%;
  min-height: 36px;
  margin-top: 8px;
  padding: 9px 10px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.86);
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
}

.project-xiaowen-analysis-grid button {
  cursor: pointer;
}

.project-xiaowen-analysis-grid button b {
  display: block;
  color: #0f172a;
  font-size: 13px;
}

.project-xiaowen-analysis-grid button small {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.project-xiaowen-architecture {
  display: grid;
  gap: 10px;
}

.project-xiaowen-architecture ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-xiaowen-architecture li {
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(59, 130, 246, 0.08));
  color: #4338ca;
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.project-case-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.project-case-flow section {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.9);
}

.project-case-flow section strong {
  color: #0f172a;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 1000;
}

.project-case-flow section p,
.project-case-flow section em {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
  font-style: normal;
  font-weight: 800;
}

.project-case-resource-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.project-case-resource-list span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(91, 140, 255, 0.1);
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
}

.project-case-analysis-box,
.project-case-score-box {
  grid-column: span 2;
}

.project-case-analysis-box textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  padding: 13px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  outline: none;
}

.project-case-analysis-box textarea:focus {
  border-color: rgba(124, 77, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.1);
}

.project-case-analysis-box button {
  justify-self: start;
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c4dff, #5b8cff);
  color: #fff;
  font-size: 13px;
  font-weight: 1000;
  cursor: pointer;
}

.project-case-score-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.project-case-score-value strong {
  color: #7c4dff !important;
  font-size: 34px !important;
  line-height: 1 !important;
}

.project-case-score-value span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
  font-size: 12px;
  font-weight: 1000;
}

.project-case-score-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.project-case-score-columns div {
  display: grid;
  gap: 7px;
  padding: 10px;
  border-radius: 14px;
  background: #f8fafc;
}

.project-case-score-columns div span {
  color: #334155;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 850;
}

@media (max-width: 1120px) {
  .project-case-detail-head,
  .project-case-flow,
  .project-case-score-columns {
    grid-template-columns: 1fr;
  }

  .project-case-analysis-box,
  .project-case-score-box {
    grid-column: auto;
  }

  .project-case-detail-actions {
    justify-content: flex-start;
  }

  .project-case-xiaowen-head,
  .project-case-xiaowen-modes {
    grid-template-columns: 1fr;
  }

  .project-my-assistant-head,
  .project-xiaowen-answer-grid,
  .project-xiaowen-analysis-grid,
  .project-xiaowen-architecture ol {
    grid-template-columns: 1fr;
  }
}

.project-debug-layout h4,
.project-waveform-layout aside strong,
.project-summary-layout h4,
.project-coach-next h4 {
  color: #0f172a;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 1000;
}

.project-waveform-preview .project-waveform-svg {
  height: 300px;
}

.project-coach-layout {
  display: grid;
  gap: 14px;
}

.project-coach-next {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(124, 77, 255, 0.16);
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(91, 140, 255, 0.06));
}

.project-coach-next p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
  font-weight: 800;
}

.project-summary-layout {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.project-summary-layout p {
  margin: 10px 0 14px;
  color: #475569;
  line-height: 1.65;
  font-weight: 800;
}

.project-summary-metrics,
.project-ability-gain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.project-summary-metrics span,
.project-ability-gain span {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background: #f8fbff;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.project-summary-metrics b,
.project-ability-gain strong {
  color: #7c4dff;
  font-size: 22px;
  line-height: 1;
}

.project-summary-metrics em,
.project-ability-gain em {
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.project-summary-actions {
  display: grid;
  align-content: center;
  gap: 10px;
}

@media (max-width: 1200px) {
  .project-today-card,
  .project-practice-hero,
  .project-practice-grid,
  .project-practice-detail,
  .project-intro-layout,
  .project-section-intro .project-intro-layout,
  .project-architecture-board,
  .project-source-hub,
  .project-debug-layout,
  .project-waveform-layout,
  .project-summary-layout {
    grid-template-columns: 1fr;
  }
  .project-architecture-board {
    display: grid;
    gap: 10px;
    overflow-x: visible;
  }
  .project-architecture-arrow {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin: -2px auto;
    border-radius: 999px;
    background: rgba(124, 77, 255, 0.1);
    color: #7c4dff;
    transform: rotate(90deg);
    font-style: normal;
    font-weight: 1000;
  }
  .project-detail-section[aria-label="AI项目教练"] {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }
  .project-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-route-grid,
  .project-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-source-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-loop-board {
    grid-template-columns: 1fr;
  }
  .project-loop-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-pack-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-route-overview {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .project-route-overview .primary-btn {
    justify-self: start;
  }
  .project-coach-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .project-practice-shell {
    padding: 14px;
  }
  .project-practice-hero-copy h2 {
    font-size: 26px;
  }
  .project-home-title {
    align-items: flex-start;
    flex-direction: column;
  }
  .project-home-title span {
    text-align: left;
  }
  .project-today-copy h3 {
    font-size: 30px;
  }
  .project-today-meta,
  .project-home-grid,
  .project-intro-facts,
  .project-mini-system-flow,
  .project-protection-row {
    grid-template-columns: 1fr;
  }
  .project-pack-selector,
  .project-loop-board,
  .project-evidence-grid,
  .project-source-list,
  .project-route-grid,
  .project-case-grid,
  .project-summary-metrics,
  .project-ability-gain {
    grid-template-columns: 1fr;
  }
}

/* Debug Mission v5: evidence-first reasoning flow. */
html body[data-active-panel="debug-lab"] .debug-case-center-card {
  padding: 20px !important;
  display: grid !important;
  grid-template-columns: 300px minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: stretch !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 248, 252, 0.86)),
    radial-gradient(circle at 12% 12%, rgba(124, 77, 255, 0.12), transparent 38%) !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06) !important;
}

html body[data-active-panel="debug-lab"] .debug-case-center-copy {
  min-height: 100% !important;
  padding: 18px !important;
  display: grid !important;
  align-content: center !important;
  gap: 8px !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(91, 140, 255, 0.08)) !important;
}

html body[data-active-panel="debug-lab"] .debug-case-center-copy p,
html body[data-active-panel="debug-lab"] .debug-case-group > div:first-child span {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="debug-lab"] .debug-case-center-copy h2 {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 24px !important;
  line-height: 1.16 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

html body[data-active-panel="debug-lab"] .debug-case-center-copy > span {
  color: #475569 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 800 !important;
}

html body[data-active-panel="debug-lab"] .debug-case-group-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

html body[data-active-panel="debug-lab"] .debug-case-group {
  min-width: 0 !important;
  padding: 14px !important;
  display: grid !important;
  gap: 12px !important;
  align-content: start !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.84) !important;
}

html body[data-active-panel="debug-lab"] .debug-case-group > div:first-child {
  display: grid !important;
  gap: 4px !important;
}

html body[data-active-panel="debug-lab"] .debug-case-group > div:first-child strong {
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="debug-lab"] .debug-case-chip-row {
  display: grid !important;
  gap: 8px !important;
}

html body[data-active-panel="debug-lab"] .debug-case-chip {
  width: 100% !important;
  min-height: 76px !important;
  padding: 12px !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  text-align: left !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: #0f172a !important;
  cursor: pointer !important;
}

html body[data-active-panel="debug-lab"] .debug-case-chip:hover,
html body[data-active-panel="debug-lab"] .debug-case-chip.is-active {
  border-color: rgba(124, 77, 255, 0.38) !important;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), rgba(91, 140, 255, 0.08)) !important;
  box-shadow: 0 12px 24px rgba(124, 77, 255, 0.12) !important;
}

html body[data-active-panel="debug-lab"] .debug-case-chip > span {
  width: 58px !important;
  height: 34px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  color: #6d4dff !important;
  background: rgba(124, 77, 255, 0.12) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="debug-lab"] .debug-case-chip strong {
  overflow: hidden !important;
  color: #0f172a !important;
  font-size: 14px !important;
  line-height: 1.36 !important;
  font-weight: 950 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="debug-lab"] .debug-case-chip em {
  padding: 5px 8px !important;
  border-radius: 999px !important;
  color: #2563eb !important;
  background: rgba(91, 140, 255, 0.12) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

html body[data-active-panel="debug-lab"] .debug-case-chip.is-active em {
  color: #15803d !important;
  background: rgba(34, 197, 94, 0.14) !important;
}

html body[data-active-panel="debug-lab"] .debug-hypothesis-board {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

html body[data-active-panel="debug-lab"] .debug-hypothesis-card {
  min-height: 142px !important;
  padding: 16px !important;
  display: grid !important;
  gap: 8px !important;
  align-content: start !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 255, 0.86)) !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04) !important;
}

html body[data-active-panel="debug-lab"] .debug-hypothesis-card > span {
  width: 28px !important;
  height: 28px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 10px !important;
  color: #6d4dff !important;
  background: rgba(124, 77, 255, 0.12) !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="debug-lab"] .debug-hypothesis-card strong,
html body[data-active-panel="debug-lab"] .debug-exclusion-item strong,
html body[data-active-panel="debug-lab"] .debug-standard-path-item p {
  color: #0f172a !important;
  font-weight: 950 !important;
}

html body[data-active-panel="debug-lab"] .debug-hypothesis-card p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
}

html body[data-active-panel="debug-lab"] .debug-hypothesis-card em,
html body[data-active-panel="debug-lab"] .debug-root-locked-panel span {
  width: max-content !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  color: #2563eb !important;
  background: rgba(91, 140, 255, 0.12) !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 900 !important;
}

html body[data-active-panel="debug-lab"] .debug-root-locked-panel {
  margin-top: 12px !important;
  padding: 18px !important;
  display: grid !important;
  gap: 8px !important;
  border: 1px dashed rgba(124, 77, 255, 0.32) !important;
  border-radius: 18px !important;
  background: rgba(124, 77, 255, 0.06) !important;
}

html body[data-active-panel="debug-lab"] .debug-root-locked-panel strong {
  color: #0f172a !important;
  font-size: 18px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="debug-lab"] .debug-root-locked-panel p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

html body[data-active-panel="debug-lab"] .debug-root-locked-panel.is-unlocked {
  border-style: solid !important;
  border-color: rgba(34, 197, 94, 0.28) !important;
  background: rgba(34, 197, 94, 0.07) !important;
}

html body[data-active-panel="debug-lab"] .debug-root-locked-panel.is-unlocked span {
  color: #15803d !important;
  background: rgba(34, 197, 94, 0.14) !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-coach-card {
  border: 1px solid rgba(124, 92, 255, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(124, 92, 255, 0.10), rgba(37, 99, 235, 0.05)),
    rgba(255, 255, 255, 0.96) !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-coach-card .debug-card-head h3 span {
  width: auto !important;
  min-width: 48px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #7c3aed, #4f8cff) !important;
  color: #fff !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-flow {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-step {
  min-height: 92px !important;
  padding: 12px !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.82) !important;
  display: flex !important;
  gap: 10px !important;
  align-items: flex-start !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-step > span {
  width: 26px !important;
  height: 26px !important;
  flex: 0 0 26px !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
  background: #eef2ff !important;
  color: #6d5dfc !important;
  font-weight: 900 !important;
  font-size: 13px !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-step strong {
  display: block !important;
  color: #111827 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-step p {
  margin: 6px 0 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-step.done {
  background: rgba(236, 253, 245, 0.9) !important;
  border-color: rgba(34, 197, 94, 0.26) !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-step.done > span {
  background: #22c55e !important;
  color: #fff !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-step.current {
  background: rgba(245, 243, 255, 0.96) !important;
  border-color: rgba(124, 92, 255, 0.46) !important;
  box-shadow: 0 16px 34px rgba(124, 92, 255, 0.14) !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-current {
  margin-top: 14px !important;
  padding: 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(124, 92, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 16px !important;
  align-items: start !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-current span {
  color: #7c5cff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-current strong {
  display: block !important;
  margin-top: 4px !important;
  color: #0f172a !important;
  font-size: 18px !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-current p {
  margin: 8px 0 0 !important;
  color: #334155 !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-current em {
  display: inline-flex !important;
  margin-top: 10px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  background: rgba(37, 99, 235, 0.08) !important;
  color: #2563eb !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-current ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  max-width: 300px !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-current li {
  padding: 7px 10px !important;
  border-radius: 999px !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-rule {
  margin-top: 12px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: rgba(15, 23, 42, 0.04) !important;
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
  color: #475569 !important;
  font-size: 13px !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-rule b {
  color: #0f172a !important;
  white-space: nowrap !important;
}

html body[data-active-panel="debug-lab"] .debug-xiaowen-coach-card > .primary-btn {
  margin-top: 14px !important;
}

@media (max-width: 1100px) {
  html body[data-active-panel="debug-lab"] .debug-xiaowen-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body[data-active-panel="debug-lab"] .debug-xiaowen-current {
    grid-template-columns: 1fr !important;
  }

  html body[data-active-panel="debug-lab"] .debug-xiaowen-current ul {
    justify-content: flex-start !important;
    max-width: none !important;
  }
}

html body[data-active-panel="debug-lab"] .debug-exclusion-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

html body[data-active-panel="debug-lab"] .debug-exclusion-item {
  min-height: 96px !important;
  padding: 14px !important;
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 10px !important;
  align-items: start !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.88) !important;
}

html body[data-active-panel="debug-lab"] .debug-exclusion-item > b {
  width: 28px !important;
  height: 28px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  color: #94a3b8 !important;
  background: rgba(148, 163, 184, 0.12) !important;
}

html body[data-active-panel="debug-lab"] .debug-exclusion-item.done > b {
  color: #fff !important;
  background: #22c55e !important;
}

html body[data-active-panel="debug-lab"] .debug-exclusion-item p {
  margin: 6px 0 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

html body[data-active-panel="debug-lab"] .debug-standard-path-list {
  display: grid !important;
  gap: 10px !important;
}

html body[data-active-panel="debug-lab"] .debug-standard-path-item {
  padding: 12px 14px !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  border: 1px solid rgba(124, 77, 255, 0.12) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.9) !important;
}

html body[data-active-panel="debug-lab"] .debug-standard-path-item span {
  width: 30px !important;
  height: 30px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  color: #7c4dff !important;
  background: rgba(124, 77, 255, 0.12) !important;
  font-weight: 950 !important;
}

html body[data-active-panel="debug-lab"] .debug-standard-path-item.done span {
  color: #fff !important;
  background: linear-gradient(135deg, #7c4dff, #5b8cff) !important;
}

html body[data-active-panel="debug-lab"] .debug-standard-path-item p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

html body[data-active-panel="debug-lab"] .debug-rubric-list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body[data-active-panel="debug-lab"] .debug-rubric-item {
  min-height: 108px !important;
  padding: 14px !important;
  display: grid !important;
  gap: 10px !important;
  align-content: center !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.9)) !important;
}

html body[data-active-panel="debug-lab"] .debug-rubric-item > div {
  display: flex !important;
  justify-content: space-between !important;
  gap: 8px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="debug-lab"] .debug-rubric-item strong {
  color: #0f172a !important;
}

html body[data-active-panel="debug-lab"] .debug-rubric-item i {
  height: 8px !important;
  overflow: hidden !important;
  border-radius: 999px !important;
  background: rgba(124, 77, 255, 0.1) !important;
}

html body[data-active-panel="debug-lab"] .debug-rubric-item i b {
  display: block !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #7c4dff, #5b8cff) !important;
}

html body[data-active-panel="debug-lab"] .debug-rubric-item em {
  color: #6d4dff !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

@media (max-width: 1280px) {
  html body[data-active-panel="debug-lab"] .debug-case-center-card,
  html body[data-active-panel="debug-lab"] .debug-case-group-grid {
    grid-template-columns: 1fr !important;
  }

  html body[data-active-panel="debug-lab"] .debug-hypothesis-board,
  html body[data-active-panel="debug-lab"] .debug-exclusion-list,
  html body[data-active-panel="debug-lab"] .debug-rubric-list {
    grid-template-columns: 1fr !important;
  }
}

/* V5 training center final lock: first screen = level / weakness / next action. */
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-home-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 24px !important;
  max-width: 1480px !important;
  margin: 0 auto !important;
  grid-template-columns: none !important;
  grid-template-areas: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-focus-decision,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-primary-recommendation,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-route-card,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-xiaowen-briefing {
  display: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-welcome-panel {
  min-height: auto !important;
  padding: 24px 28px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-center,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-training-plan,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-weekly-growth {
  width: 100% !important;
  border-radius: 24px !important;
  border: 1px solid rgba(124, 77, 255, 0.12) !important;
  background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%) !important;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.07) !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-center {
  min-height: 380px !important;
  padding: 32px !important;
  display: grid !important;
  grid-template-columns: 0.72fr 1.28fr !important;
  gap: 28px !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-copy .eyebrow {
  color: #7c4dff !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-copy h1 {
  margin: 10px 0 14px !important;
  color: #0f172a !important;
  font-size: 42px !important;
  line-height: 1.12 !important;
  letter-spacing: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-copy p {
  max-width: 360px !important;
  color: #64748b !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-grid {
  display: grid !important;
  grid-template-columns: 1.12fr 1fr 1.1fr !important;
  gap: 18px !important;
  min-width: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card {
  min-height: 280px !important;
  padding: 24px !important;
  border: 1px solid #e5e7f5 !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 16px 36px rgba(91,140,255,.08) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card span {
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card strong {
  color: #111827 !important;
  font-size: 28px !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card-primary {
  background: linear-gradient(140deg, #f7f2ff 0%, #fff 68%) !important;
  border-color: rgba(124,77,255,.28) !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card-primary strong {
  color: #6d4cff !important;
  font-size: 74px !important;
  letter-spacing: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card-primary small {
  margin-left: 3px !important;
  font-size: 22px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card em,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card b {
  color: #64748b !important;
  font-style: normal !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card b {
  width: max-content !important;
  max-width: 100% !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  background: #ecfdf5 !important;
  color: #059669 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-weakness-card ul {
  margin: 2px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 8px !important;
  list-style: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-weakness-card li {
  padding: 9px 11px !important;
  border-radius: 12px !important;
  background: #fff7ed !important;
  color: #f97316 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-next-card {
  background: linear-gradient(140deg, #fff 0%, #eef6ff 100%) !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-next-card .primary-btn {
  width: 100% !important;
  height: 52px !important;
  margin-top: 8px !important;
  border-radius: 16px !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-training-plan {
  min-height: 260px !important;
  padding: 28px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-section-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-section-head h2 {
  margin: 4px 0 0 !important;
  color: #0f172a !important;
  font-size: 28px !important;
  line-height: 1.2 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-section-head span {
  color: #64748b !important;
  font-weight: 800 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-plan-list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 16px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-plan-day {
  min-height: 142px !important;
  padding: 18px !important;
  border: 1px solid #e5e7f5 !important;
  border-radius: 18px !important;
  background: #fff !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  cursor: pointer !important;
  transition: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-plan-day.is-current {
  border-color: rgba(124,77,255,.35) !important;
  background: linear-gradient(135deg, #f5f0ff 0%, #fff 100%) !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-plan-day span {
  width: max-content !important;
  padding: 5px 10px !important;
  border-radius: 999px !important;
  background: #f1ecff !important;
  color: #7c4dff !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-plan-day strong {
  color: #0f172a !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-plan-day em {
  color: #64748b !important;
  font-size: 13px !important;
  font-style: normal !important;
  line-height: 1.45 !important;
}

/* V5 product-subtraction pass: homepage becomes daily decision software, not a dashboard wall. */
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-analysis-details,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-weekly-growth,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-hardware-focus,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-hardware-questions,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-training-heatmap,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-special-training,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-coach-card-bottom {
  display: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-welcome-panel {
  border-radius: 24px !important;
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%) !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-greeting-line {
  margin: 0 0 16px !important;
  color: #0f172a !important;
  font-size: 30px !important;
  line-height: 1.22 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-training-statusbar {
  display: grid !important;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-training-status {
  min-height: 104px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.9) !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 5px !important;
  overflow: hidden !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-training-status strong {
  color: #111827 !important;
  font-size: 23px !important;
  line-height: 1.16 !important;
  white-space: normal !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-training-status-primary strong {
  color: #6d4cff !important;
  font-size: 52px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-training-status em,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-training-status b {
  white-space: normal !important;
  line-height: 1.35 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-answer-strip {
  display: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-center {
  min-height: 330px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-card-primary strong {
  font-size: 42px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-signal-list {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-signal-list .landing-v5-plan-day {
  min-height: 150px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-card {
  border-color: rgba(124,77,255,.35) !important;
  background: linear-gradient(135deg, #f5f0ff 0%, #ffffff 100%) !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-job-match-card b {
  width: max-content !important;
  max-width: 100% !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
  color: #6d4cff !important;
  background: #f1ecff !important;
  font-style: normal !important;
  font-weight: 950 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-ai-advice {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 24px !important;
  padding: 26px 28px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-ai-advice h2 {
  margin: 4px 0 8px !important;
  font-size: 24px !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  color: #0f172a !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-ai-advice p:not(.eyebrow) {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-ai-advice .ghost-btn {
  min-width: 148px !important;
  height: 46px !important;
  border-radius: 14px !important;
}

/* Skill Training is the single lower-level entrance for Debug, Waveform, Project and packs. */
.skill-training-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0 20px;
}

.skill-training-map-secondary {
  margin-top: -6px;
}

.skill-training-group {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(124, 77, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  transition: none;
}

.skill-training-group span {
  width: max-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f1ecff;
  color: #7c4dff;
  font-size: 13px;
  font-weight: 950;
}

.skill-training-group strong {
  color: #0f172a;
  font-size: 18px;
  line-height: 1.3;
}

.skill-training-group em {
  color: #64748b;
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

@media (max-width: 1100px) {
  html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-training-statusbar,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-center,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-grid,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-signal-list,
  .skill-training-map {
    grid-template-columns: 1fr !important;
  }
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-weekly-growth {
  min-height: 300px !important;
  padding: 28px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-weekly-growth-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-weekly-growth-item:nth-child(n + 4) {
  display: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-weekly-growth-item {
  min-height: 154px !important;
  padding: 20px !important;
  border-radius: 18px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-weekly-growth-item span {
  font-size: 16px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-weekly-growth-item p {
  margin: 14px 0 0 !important;
  color: #111827 !important;
  font-size: 30px !important;
  font-weight: 950 !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-weekly-growth-item strong {
  right: 20px !important;
  top: 54px !important;
  font-size: 30px !important;
}

@media (max-width: 1180px) {
  html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-center {
    grid-template-columns: 1fr !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-command-grid,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-v5-plan-list,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-weekly-growth-list,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-training-statusbar {
    grid-template-columns: 1fr !important;
  }
}

/* v391 final visual fit: these rules stay last to beat older experimental locks. */
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-primary-recommendation .landing-recommendation-preview {
  overflow: visible !important;
  inline-size: clamp(386px, 34vw, 448px) !important;
  width: clamp(386px, 34vw, 448px) !important;
  max-width: min(448px, calc(100% - 520px)) !important;
  top: 22px !important;
  right: 28px !important;
  bottom: 22px !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-primary-recommendation .landing-hero-capability-card {
  overflow: visible !important;
  transform: scale(0.94) !important;
  transform-origin: center !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-primary-recommendation .landing-recommendation-preview *,
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-primary-recommendation .landing-hero-capability-card * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

html:not(.react-student-embedded) body[data-active-panel="audio"] .audio-review-standard-compare,
html:not(.react-student-embedded) body[data-active-panel="audio"] .audio-compare-grid,
html:not(.react-student-embedded) body[data-active-panel="audio"] .audio-compare-grid section,
html:not(.react-student-embedded) body[data-active-panel="audio"] .audio-compare-grid p,
html:not(.react-student-embedded) body:has(.panel[data-panel="audio"].active) .audio-review-standard-compare,
html:not(.react-student-embedded) body:has(.panel[data-panel="audio"].active) .audio-compare-grid,
html:not(.react-student-embedded) body:has(.panel[data-panel="audio"].active) .audio-compare-grid section,
html:not(.react-student-embedded) body:has(.panel[data-panel="audio"].active) .audio-compare-grid p {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

html:not(.react-student-embedded) body[data-active-panel="audio"] .audio-compare-grid,
html:not(.react-student-embedded) body:has(.panel[data-panel="audio"].active) .audio-compare-grid {
  align-items: stretch !important;
}

html:not(.react-student-embedded) body[data-active-panel="audio"] .audio-compare-grid section,
html:not(.react-student-embedded) body:has(.panel[data-panel="audio"].active) .audio-compare-grid section {
  min-height: 142px !important;
  align-content: start !important;
}

/* v391 landing closeout: the compact primary card must never crop its radar. */
html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-primary-recommendation,
html:not(.react-student-embedded) body:has(.landing-workspace.active) .landing-primary-recommendation {
  overflow: visible !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid > article.section-card.landing-primary-recommendation,
html:not(.react-student-embedded) body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid > article.section-card.landing-primary-recommendation,
html:not(.react-student-embedded) body[data-active-panel="landing"][data-landing-module-layout="custom"] .shell .main .landing-workspace .landing-home-grid > article.section-card.landing-primary-recommendation,
html:not(.react-student-embedded) body[data-landing-module-layout="custom"]:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid > article.section-card.landing-primary-recommendation {
  overflow: visible !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-primary-recommendation .landing-recommendation-preview {
  contain: none !important;
  overflow: visible !important;
}

html:not(.react-student-embedded) body[data-active-panel="landing"] .landing-primary-recommendation .landing-hero-capability-card {
  inset: 6px !important;
  max-height: none !important;
  overflow: visible !important;
  grid-template-rows: auto auto auto minmax(96px, 1fr) auto auto !important;
}

/* v390: keep the primary recommendation radar fully visible. */
html body[data-active-panel="landing"] .landing-primary-recommendation .landing-recommendation-preview {
  overflow: visible !important;
  width: clamp(390px, 35vw, 460px) !important;
  right: 26px !important;
  top: 22px !important;
  bottom: 22px !important;
}

html body[data-active-panel="landing"] .landing-primary-recommendation .landing-hero-capability-card {
  overflow: visible !important;
  transform: scale(0.96) !important;
  transform-origin: center !important;
}

html body[data-active-panel="landing"] .landing-primary-recommendation .landing-hero-capability-card *,
html body[data-active-panel="landing"] .landing-primary-recommendation .landing-recommendation-preview * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

html body[data-active-panel="landing"] .landing-primary-recommendation .landing-hero-capability-card p,
html body[data-active-panel="landing"] .landing-primary-recommendation .landing-hero-capability-card span,
html body[data-active-panel="landing"] .landing-primary-recommendation .landing-hero-capability-card strong {
  overflow: visible !important;
}

/* Sidebar hover freeze v284: sidebar size changes only by clicking the toggle. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) body .shell,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed),
  html:not(.react-student-embedded) body .shell.sidebar-expanded,
  html:not(.react-student-embedded) body .shell:has(> .sidebar:hover):not(.sidebar-collapsed),
  html:not(.react-student-embedded) body .shell:has(> .sidebar:focus-within):not(.sidebar-collapsed),
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) {
    grid-template-columns: 236px minmax(0, 1fr) !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:focus-within) .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 18px 16px 14px !important;
    overflow-x: hidden !important;
    transform: none !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 18px 10px 14px !important;
    overflow-x: hidden !important;
    transform: none !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed) .brand-head--main,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:hover) .brand-head--main,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:focus-within) .brand-head--main,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-head--main,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-head--main,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-head--main {
    min-height: 118px !important;
    height: 118px !important;
    display: grid !important;
    align-content: start !important;
    justify-items: center !important;
  }

  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed) .brand-icon-logo,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:hover) .brand-icon-logo,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:focus-within) .brand-icon-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-icon-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-icon-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-icon-logo {
    display: none !important;
  }

  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed) .brand-main-logo,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed) .brand-subtitle-text,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:hover) .brand-main-logo,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:hover) .brand-subtitle-text,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:focus-within) .brand-main-logo,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:focus-within) .brand-subtitle-text,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-subtitle-text,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-subtitle-text,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-subtitle-text {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed) .menu-item,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:hover) .menu-item,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:focus-within) .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .menu-item {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin-inline: 0 !important;
    padding: 0 18px !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    transform: none !important;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .menu-item {
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 48px !important;
    place-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    transform: none !important;
    transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease !important;
  }

  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed) .sidebar-section,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:hover) .sidebar-section,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:focus-within) .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar-section {
    width: 100% !important;
    height: auto !important;
    margin: 16px 0 4px !important;
    color: var(--muted) !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar-section {
    width: 48px !important;
    height: 0 !important;
    margin: 6px auto 0 !important;
    color: transparent !important;
    opacity: 0 !important;
    overflow: hidden !important;
    transform: none !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed) .sidebar-account-card,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:hover) .sidebar-account-card,
  html:not(.react-student-embedded) body .shell:not(.sidebar-collapsed):has(> .sidebar:focus-within) .sidebar-account-card,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar-account-card,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar-account-card,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar-account-card {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar-account-card,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar-account-card,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar-account-card {
    opacity: 0 !important;
    transform: translateY(8px) scale(0.96) !important;
    pointer-events: none !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) body .sidebar-toggle,
  html:not(.react-student-embedded) body .sidebar-toggle:hover,
  html:not(.react-student-embedded) body .sidebar-account-button,
  html:not(.react-student-embedded) body .sidebar-account-button:hover {
    transform: none !important;
  }
}

/* Final homepage fold lock v282: beat inline custom grid slots and old module overrides. */
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-xiaowen-briefing,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-route-card,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-ai-task-center,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-hardware-focus,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-hardware-questions,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-training-heatmap,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-coach-card-bottom,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-special-training,
html body:has(.landing-workspace.active) .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-xiaowen-briefing,
html body:has(.landing-workspace.active) .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-route-card,
html body:has(.landing-workspace.active) .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-ai-task-center,
html body:has(.landing-workspace.active) .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-hardware-focus,
html body:has(.landing-workspace.active) .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-hardware-questions,
html body:has(.landing-workspace.active) .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-training-heatmap,
html body:has(.landing-workspace.active) .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-coach-card-bottom,
html body:has(.landing-workspace.active) .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-special-training {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-welcome-panel {
  min-height: 170px !important;
  height: auto !important;
}

/* Sidebar visual system v277: restore the desktop-client rail style. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) body .shell.sidebar-expanded,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within),
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded:has(> .sidebar:focus-within) {
    grid-template-columns: 236px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within),
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed:has(> .sidebar:focus-within) {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .sidebar {
    width: 236px !important;
    min-width: 236px !important;
    max-width: 236px !important;
    min-height: 100vh !important;
    height: 100vh !important;
    padding: 20px 18px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 88% 8%, rgba(124, 77, 255, 0.22), transparent 26%),
      radial-gradient(circle at 12% 18%, rgba(91, 140, 255, 0.12), transparent 28%),
      linear-gradient(180deg, #07142b 0%, #071225 50%, #061021 100%) !important;
    border-right: 1px solid rgba(148, 163, 184, 0.12) !important;
    box-shadow: 18px 0 38px rgba(15, 23, 42, 0.16) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    padding: 18px 12px 14px !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .brand,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .sidebar .brand {
    position: relative !important;
    width: 100% !important;
    height: 104px !important;
    min-height: 104px !important;
    margin: 0 0 14px !important;
    padding: 2px 36px 0 2px !important;
    display: grid !important;
    align-items: start !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .brand-head,
  html:not(.react-student-embedded) body .shell .sidebar .brand-head--main,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .sidebar .brand-head,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .sidebar .brand-head--main {
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    justify-items: start !important;
    align-content: start !important;
    gap: 7px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .brand-icon-logo,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .sidebar .brand-icon-logo {
    display: none !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .brand-main-logo,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .sidebar .brand-main-logo {
    display: block !important;
    width: 144px !important;
    max-width: 144px !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    transform: none !important;
    filter:
      saturate(1.08)
      contrast(1.08)
      drop-shadow(0 10px 20px rgba(2, 6, 23, 0.28)) !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .brand-subtitle-text,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .sidebar .brand-subtitle-text {
    display: block !important;
    width: 178px !important;
    max-width: 178px !important;
    margin: 0 !important;
    color: rgba(226, 232, 240, 0.82) !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    transform: none !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .sidebar-toggle,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .sidebar .sidebar-toggle {
    display: inline-grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    z-index: 120 !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    place-items: center !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-radius: 10px !important;
    color: rgba(226, 232, 240, 0.86) !important;
    background: rgba(15, 23, 42, 0.58) !important;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.2) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .sidebar-toggle:hover,
  html:not(.react-student-embedded) body .shell .sidebar .sidebar-toggle:focus-visible {
    color: #fff !important;
    background: rgba(124, 77, 255, 0.34) !important;
    border-color: rgba(167, 139, 250, 0.54) !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .brand {
    height: 98px !important;
    min-height: 98px !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    display: grid !important;
    place-items: start center !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-head--main,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .brand-head--main {
    display: grid !important;
    place-items: center !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-icon-logo,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .brand-icon-logo {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    margin-top: 2px !important;
    object-fit: contain !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-subtitle-text,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .brand-main-logo,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .brand-subtitle-text {
    display: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar-toggle,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar-toggle {
    top: 56px !important;
    left: 10px !important;
    right: auto !important;
    width: 34px !important;
    height: 30px !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .menu {
    display: grid !important;
    gap: 5px !important;
    align-items: start !important;
    align-content: start !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-section,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-section {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 10px 0 5px !important;
    padding: 0 12px !important;
    color: rgba(148, 163, 184, 0.76) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .menu-item,
  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-link,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-bottom-link {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 13px 0 44px !important;
    border: 1px solid transparent !important;
    border-radius: 11px !important;
    color: rgba(226, 232, 240, 0.86) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item.active,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .menu-item.active {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(135deg, #4b8dff 0%, #7c4dff 62%, #a334ff 100%) !important;
    box-shadow: 0 12px 26px rgba(124, 77, 255, 0.28) !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item:hover,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .menu-item:hover {
    color: #fff !important;
    background: rgba(148, 163, 184, 0.1) !important;
    box-shadow: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item.active:hover,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .menu-item.active:hover {
    background: linear-gradient(135deg, #4b8dff 0%, #7c4dff 62%, #a334ff 100%) !important;
    box-shadow: 0 12px 26px rgba(124, 77, 255, 0.28) !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item::before,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .menu-item::before,
  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-link::before,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-bottom-link::before {
    content: "" !important;
    position: absolute !important;
    left: 13px !important;
    top: 50% !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 8px !important;
    color: currentColor !important;
    background: rgba(255, 255, 255, 0.06) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-indent: 0 !important;
    transform: translateY(-50%) !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="landing"]::before { content: "⌂" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="interview"]::before { content: "◉" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="audio"]::before { content: "▣" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="debug-lab"]::before { content: "⌘" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="waveform"]::before { content: "⌁" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="question-bank"]::before { content: "□" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="reports"]::before { content: "▤" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="resume"]::before { content: "◇" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="message-center"]::before { content: "◦" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="settings"]::before { content: "⚙" !important; }

  html:not(.react-student-embedded) body .sidebar .menu-item.active::before,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .menu-item.active::before {
    background: rgba(255, 255, 255, 0.18) !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-zone,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-bottom-zone {
    position: static !important;
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 12px !important;
    display: grid !important;
    gap: 6px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-account-card {
    display: block !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-button,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-account-button {
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 8px 12px !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 14px !important;
    align-items: center !important;
    gap: 10px !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 15px !important;
    color: #f8fafc !important;
    background: rgba(15, 23, 42, 0.44) !important;
    box-shadow: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-avatar,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-account-avatar {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    border-radius: 50% !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-copy,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-account-copy {
    min-width: 0 !important;
    display: block !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-copy strong,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-account-copy strong {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .menu,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar .menu {
    align-items: center !important;
    gap: 9px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-section,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar .sidebar-section {
    width: 48px !important;
    height: 0 !important;
    margin: 3px auto 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .menu-item,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-bottom-link,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar .sidebar-bottom-link {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -999px !important;
    overflow: hidden !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .menu-item::before,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar .menu-item::before,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-bottom-link::before,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar .sidebar-bottom-link::before {
    position: static !important;
    transform: none !important;
    text-indent: 0 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar .sidebar-account-card {
    display: none !important;
  }
}

html body .sidebar-account-copy {
  gap: 0 !important;
}

html body .sidebar-account-button::before {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
}

html body .training-dashboard-actions {
  align-items: center !important;
}

html body .training-dashboard-apply-state {
  margin-right: auto !important;
  max-width: 250px !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(124, 77, 255, 0.18) !important;
  border-radius: 999px !important;
  color: #5b6b84 !important;
  background: rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body .training-dashboard-apply-state[data-state="saved"] {
  color: #15803d !important;
  border-color: rgba(34, 197, 94, 0.22) !important;
  background: rgba(240, 253, 244, 0.92) !important;
}

html body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid,
html body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid,
html body[data-active-panel="landing"][data-landing-module-layout="custom"] .shell .main .landing-workspace .landing-home-grid,
html body[data-landing-module-layout="custom"]:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid {
  grid-template-rows: 148px 276px 420px 240px 240px 180px 232px 180px 150px 238px !important;
}

html body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid > .section-card.landing-xiaowen-briefing,
html body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid > .section-card.landing-xiaowen-briefing,
html body[data-active-panel="landing"][data-landing-module-layout="custom"] .shell .main .landing-workspace .landing-home-grid > .section-card.landing-xiaowen-briefing,
html body[data-landing-module-layout="custom"]:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid > .section-card.landing-xiaowen-briefing {
  height: 276px !important;
  min-height: 276px !important;
  max-height: 276px !important;
  padding: 24px 28px !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .landing-xiaowen-briefing-copy,
html body:has(.landing-workspace.active) .landing-xiaowen-briefing-copy {
  height: 100% !important;
  min-height: 0 !important;
  grid-template:
    "head stats" 32px
    "text stats" minmax(74px, auto)
    "advice stats" minmax(76px, 1fr)
    / minmax(0, 1fr) 372px !important;
  gap: 16px 28px !important;
  align-items: start !important;
}

html body[data-active-panel="landing"] .landing-xiaowen-briefing-head,
html body:has(.landing-workspace.active) .landing-xiaowen-briefing-head {
  grid-area: head !important;
  min-height: 32px !important;
  align-items: center !important;
}

html body[data-active-panel="landing"] .landing-xiaowen-briefing-head strong,
html body:has(.landing-workspace.active) .landing-xiaowen-briefing-head strong {
  position: static !important;
  display: inline-flex !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 148px !important;
  height: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #7c8aa2 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="landing"] #landingXiaowenBriefingText,
html body:has(.landing-workspace.active) #landingXiaowenBriefingText,
html body[data-active-panel="landing"] .landing-xiaowen-briefing-advice,
html body:has(.landing-workspace.active) .landing-xiaowen-briefing-advice {
  display: block !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: visible !important;
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  line-height: 1.72 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  text-overflow: clip !important;
  -webkit-line-clamp: unset !important;
}

html body[data-active-panel="landing"] .landing-training-cockpit-stats,
html body:has(.landing-workspace.active) .landing-training-cockpit-stats {
  grid-area: stats !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: repeat(3, minmax(58px, auto)) !important;
  gap: 12px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-content: start !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-training-cockpit-stats div,
html body:has(.landing-workspace.active) .landing-training-cockpit-stats div {
  display: grid !important;
  grid-template-rows: auto auto !important;
  gap: 6px !important;
  min-width: 0 !important;
  min-height: 58px !important;
  height: auto !important;
  max-height: none !important;
  padding: 12px 14px !important;
  align-content: center !important;
  overflow: visible !important;
  border-radius: 16px !important;
}

html body[data-active-panel="landing"] .landing-training-cockpit-stats div:first-child,
html body:has(.landing-workspace.active) .landing-training-cockpit-stats div:first-child {
  grid-column: 1 / -1 !important;
}

html body[data-active-panel="landing"] .landing-training-cockpit-stats span,
html body:has(.landing-workspace.active) .landing-training-cockpit-stats span {
  display: block !important;
  min-width: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="landing"] .landing-training-cockpit-stats strong,
html body:has(.landing-workspace.active) .landing-training-cockpit-stats strong {
  display: block !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  color: #111827 !important;
  font-size: 18px !important;
  font-weight: 950 !important;
  line-height: 1.24 !important;
  letter-spacing: 0 !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: keep-all !important;
}

html body[data-active-panel="landing"] .landing-training-cockpit-stats div:nth-child(2) strong,
html body[data-active-panel="landing"] .landing-training-cockpit-stats div:nth-child(5) strong,
html body:has(.landing-workspace.active) .landing-training-cockpit-stats div:nth-child(2) strong,
html body:has(.landing-workspace.active) .landing-training-cockpit-stats div:nth-child(5) strong {
  color: #6d4dff !important;
  font-size: 22px !important;
  line-height: 1.12 !important;
}

html body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid > .section-card.landing-hardware-focus,
html body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid > .section-card.landing-hardware-focus {
  height: 232px !important;
  min-height: 232px !important;
  max-height: 232px !important;
  padding: 18px 26px !important;
  display: grid !important;
  grid-template-rows: 28px 140px !important;
  gap: 14px !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .landing-hardware-focus .landing-hardware-chip-list,
html body:has(.landing-workspace.active) .landing-hardware-focus .landing-hardware-chip-list {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 14px !important;
  height: 140px !important;
  min-height: 140px !important;
  max-height: 140px !important;
  align-items: stretch !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-hardware-focus .landing-hardware-card,
html body:has(.landing-workspace.active) .landing-hardware-focus .landing-hardware-card {
  min-width: 0 !important;
  width: 100% !important;
  height: 140px !important;
  min-height: 140px !important;
  max-height: 140px !important;
  padding: 12px 14px !important;
  display: grid !important;
  grid-template-rows: 30px 18px 17px 30px !important;
  gap: 5px !important;
  align-content: start !important;
  justify-items: stretch !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .landing-hardware-focus .landing-hardware-card > strong,
html body:has(.landing-workspace.active) .landing-hardware-focus .landing-hardware-card > strong {
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) !important;
  gap: 8px !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  margin: 0 !important;
  overflow: hidden !important;
  color: #111827 !important;
  font-size: 16px !important;
  font-weight: 950 !important;
  line-height: 1.1 !important;
  text-align: left !important;
}

html body[data-active-panel="landing"] .landing-hardware-focus .landing-hardware-card > strong span,
html body:has(.landing-workspace.active) .landing-hardware-focus .landing-hardware-card > strong span {
  display: inline-grid !important;
  place-items: center !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

html body[data-active-panel="landing"] .landing-hardware-focus .landing-hardware-card > strong b,
html body:has(.landing-workspace.active) .landing-hardware-focus .landing-hardware-card > strong b {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="landing"] .landing-hardware-focus .landing-hardware-card > em,
html body:has(.landing-workspace.active) .landing-hardware-focus .landing-hardware-card > em,
html body[data-active-panel="landing"] .landing-hardware-focus .landing-hardware-card > small,
html body:has(.landing-workspace.active) .landing-hardware-focus .landing-hardware-card > small {
  display: block !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="landing"] .landing-hardware-focus .landing-hardware-card > .landing-hardware-mastery,
html body:has(.landing-workspace.active) .landing-hardware-focus .landing-hardware-card > .landing-hardware-mastery {
  display: grid !important;
  grid-template-rows: 14px 8px !important;
  gap: 6px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  margin: 0 !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-hardware-focus .landing-hardware-card > .landing-hardware-mastery > div,
html body:has(.landing-workspace.active) .landing-hardware-focus .landing-hardware-card > .landing-hardware-mastery > div {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 14px !important;
  overflow: visible !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

html body[data-active-panel="landing"] .landing-hardware-focus .landing-hardware-card > .landing-hardware-mastery i,
html body:has(.landing-workspace.active) .landing-hardware-focus .landing-hardware-card > .landing-hardware-mastery i {
  height: 8px !important;
  min-height: 8px !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid > .section-card.landing-special-training,
html body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid > .section-card.landing-special-training,
html body[data-active-panel="landing"][data-landing-module-layout="custom"] .shell .main .landing-workspace .landing-home-grid > .section-card.landing-special-training,
html body[data-landing-module-layout="custom"]:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid > .section-card.landing-special-training {
  height: 238px !important;
  min-height: 238px !important;
  max-height: 238px !important;
  padding: 20px 26px !important;
  display: grid !important;
  grid-template-rows: 28px minmax(0, 1fr) !important;
  gap: 16px !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-special-training-list,
html body:has(.landing-workspace.active) .landing-special-training-list {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  height: 154px !important;
  min-height: 154px !important;
  max-height: none !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-special-training .landing-special-training-list .landing-special-training-item,
html body:has(.landing-workspace.active) .landing-special-training .landing-special-training-list .landing-special-training-item {
  height: 154px !important;
  min-height: 154px !important;
  max-height: 154px !important;
  padding: 14px !important;
  display: grid !important;
  grid-template:
    "icon title title" 32px
    "reason reason reason" 44px
    "rate rate button" 32px
    / 38px minmax(0, 1fr) 88px !important;
  gap: 8px 10px !important;
  align-items: center !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .landing-special-training .landing-special-training-list .landing-special-training-item > .landing-special-training-icon,
html body:has(.landing-workspace.active) .landing-special-training .landing-special-training-list .landing-special-training-item > .landing-special-training-icon {
  grid-area: icon !important;
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  align-self: center !important;
}

html body[data-active-panel="landing"] .landing-special-training .landing-special-training-list .landing-special-training-item > strong,
html body:has(.landing-workspace.active) .landing-special-training .landing-special-training-list .landing-special-training-item > strong {
  grid-area: title !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden !important;
  color: #111827 !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1.35 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="landing"] .landing-special-training .landing-special-training-list .landing-special-training-item > .landing-special-training-reason,
html body:has(.landing-workspace.active) .landing-special-training .landing-special-training-list .landing-special-training-item > .landing-special-training-reason {
  grid-area: reason !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  color: #8a97ad !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  line-height: 1.38 !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

html body[data-active-panel="landing"] .landing-special-training .landing-special-training-list .landing-special-training-item > p,
html body:has(.landing-workspace.active) .landing-special-training .landing-special-training-list .landing-special-training-item > p {
  grid-area: rate !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: center !important;
  overflow: visible !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
}

html body[data-active-panel="landing"] .landing-special-training .landing-special-training-list .landing-special-training-item > p b,
html body:has(.landing-workspace.active) .landing-special-training .landing-special-training-list .landing-special-training-item > p b {
  color: #111827 !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

html body[data-active-panel="landing"] .landing-special-training .landing-special-training-list .landing-special-training-item > em,
html body:has(.landing-workspace.active) .landing-special-training .landing-special-training-list .landing-special-training-item > em {
  grid-area: button !important;
  justify-self: end !important;
  align-self: center !important;
  width: 88px !important;
  min-width: 88px !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  overflow: hidden !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 950 !important;
  line-height: 32px !important;
  white-space: nowrap !important;
}

@media (max-width: 1180px) {
  html body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid,
  html body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid {
    grid-template-rows: 214px auto 420px 300px 300px 220px auto auto 180px auto !important;
  }

  html body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid > .section-card.landing-xiaowen-briefing,
  html body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid > .section-card.landing-xiaowen-briefing,
  html body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid > .section-card.landing-special-training,
  html body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid > .section-card.landing-special-training {
    height: auto !important;
    max-height: none !important;
  }

  html body[data-active-panel="landing"] .landing-special-training-list,
  html body:has(.landing-workspace.active) .landing-special-training-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    height: auto !important;
    min-height: 0 !important;
  }
}

/* Interview final frame: fixed top/bottom, only the main arena scrolls. */
html body[data-active-panel="interview"] {
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .shell {
  height: 100dvh !important;
  min-height: 100dvh !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .main {
  height: 100dvh !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: block !important;
  background: #f5f8fc !important;
}

html body[data-active-panel="interview"] .topbar,
html body[data-active-panel="interview"] #globalNotice {
  display: none !important;
}

html body[data-active-panel="interview"] .panel[data-panel="interview"] {
  display: block !important;
  height: 100dvh !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
}

html body[data-active-panel="interview"] .interview-studio {
  height: 100dvh !important;
  min-height: 0 !important;
  max-height: 100dvh !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-rows: 80px minmax(0, 1fr) 76px !important;
  gap: 0 !important;
  overflow: hidden !important;
  background: #f5f8fc !important;
}

html body[data-active-panel="interview"] .interview-training-statusbar {
  position: fixed !important;
  top: 0 !important;
  left: 236px !important;
  right: 0 !important;
  z-index: 80 !important;
  height: 80px !important;
  min-height: 80px !important;
  max-height: 80px !important;
  margin: 0 !important;
  padding: 10px 24px !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 0.9fr) minmax(430px, 1.18fr) minmax(360px, 1.05fr) minmax(280px, auto) !important;
  align-items: center !important;
  gap: 18px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
}

html body[data-active-panel="interview"] .interview-v5-modebar {
  min-width: 0 !important;
  display: grid !important;
  grid-template-rows: 30px 30px !important;
  gap: 6px !important;
  align-items: center !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-v5-segment,
html body[data-active-panel="interview"] .interview-v5-company-tabs {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-v5-company-tabs {
  opacity: 0.55 !important;
  filter: saturate(0.85) !important;
  transition: opacity 0.16s ease, filter 0.16s ease !important;
}

html body[data-active-panel="interview"] .interview-v5-company-tabs.is-enabled {
  opacity: 1 !important;
  filter: none !important;
}

html body[data-active-panel="interview"] .interview-v5-mode-btn,
html body[data-active-panel="interview"] .interview-v5-company-btn {
  height: 28px !important;
  min-width: 0 !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 999px !important;
  color: #64748b !important;
  background: rgba(255, 255, 255, 0.72) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

html body[data-active-panel="interview"] .interview-v5-company-btn {
  height: 26px !important;
  padding: 0 8px !important;
  font-size: 11px !important;
}

html body[data-active-panel="interview"] .interview-v5-mode-btn.is-active,
html body[data-active-panel="interview"] .interview-v5-company-btn.is-active {
  border-color: rgba(124, 77, 255, 0.32) !important;
  color: #5f3dff !important;
  background: rgba(124, 77, 255, 0.12) !important;
  box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.08) !important;
}

html body[data-active-panel="interview"] .interview-training-title,
html body[data-active-panel="interview"] .interview-training-metrics,
html body[data-active-panel="interview"] .interview-training-actions {
  min-width: 0 !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-training-title > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 3px !important;
}

html body[data-active-panel="interview"] .interview-training-title strong,
html body[data-active-panel="interview"] .interview-training-title span:not(.interview-training-avatar) {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"] .interview-training-title {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: center !important;
}

html body[data-active-panel="interview"] .interview-training-avatar {
  width: 44px !important;
  height: 44px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 16px !important;
  color: #0f172a !important;
  background: linear-gradient(135deg, #7c4dff, #5b8cff) !important;
  box-shadow: 0 12px 24px rgba(124, 77, 255, 0.24) !important;
  font-size: 17px !important;
  font-weight: 950 !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-training-avatar-img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

html body[data-active-panel="interview"] .interview-profile-inline-btn {
  height: 34px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 12px !important;
  color: #6d4dff !important;
  background: rgba(124, 77, 255, 0.08) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

html body[data-active-panel="interview"] .interview-training-metrics {
  display: grid !important;
  grid-template-columns: 1.12fr 1fr 1.12fr !important;
  justify-content: center !important;
  gap: 10px !important;
}

html body[data-active-panel="interview"] .interview-training-metrics > span {
  min-width: 0 !important;
  min-height: 52px !important;
  padding: 7px 12px !important;
  display: grid !important;
  align-content: center !important;
  gap: 3px !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.82) !important;
}

html body[data-active-panel="interview"] .interview-training-metrics > span > em,
html body[data-active-panel="interview"] .interview-training-score > span,
html body[data-active-panel="interview"] #interviewTopRemaining {
  display: block !important;
  min-width: 0 !important;
  color: #7c8aa2 !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
  font-style: normal !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="interview"] .interview-training-metrics > span > strong {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  justify-content: start !important;
  color: #0f172a !important;
  background: transparent !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"] #interviewTopRoundLabel {
  position: relative !important;
  display: inline-flex !important;
  padding-bottom: 13px !important;
}

html body[data-active-panel="interview"] #interviewTopRoundLabel::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 2px !important;
  height: 5px !important;
  border-radius: 999px !important;
  background:
    linear-gradient(90deg, #6d4dff 0 var(--interview-top-progress, 30%), transparent var(--interview-top-progress, 30%) 100%),
    rgba(124, 77, 255, 0.12) !important;
}

html body[data-active-panel="interview"] .interview-training-actions {
  display: grid !important;
  grid-template-columns: minmax(92px, auto) minmax(72px, auto) minmax(88px, auto) !important;
  justify-content: end !important;
  align-items: center !important;
  gap: 10px !important;
}

html body[data-active-panel="interview"] .interview-training-score {
  min-width: 92px !important;
  height: 52px !important;
  padding: 6px 14px !important;
  display: grid !important;
  align-content: center !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 14px !important;
  background: rgba(124, 77, 255, 0.08) !important;
}

html body[data-active-panel="interview"] .interview-training-score strong {
  color: #6d4dff !important;
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-main-dashboard {
  grid-row: 2 / 3 !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 16px 20px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 72%) minmax(320px, 28%) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 16px !important;
  align-items: stretch !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-main-dashboard > .section-card {
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-setup-card {
  display: none !important;
}

html body[data-active-panel="interview"] .interview-setup-card > .section-head {
  min-width: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  display: grid !important;
  align-content: center !important;
}

html body[data-active-panel="interview"] .interview-setup-card .section-head .eyebrow {
  display: none !important;
}

html body[data-active-panel="interview"] .interview-profile-dashboard {
  min-height: 0 !important;
  height: 100% !important;
  display: grid !important;
  grid-template-columns: 1.08fr 1.5fr 1fr 1fr !important;
  gap: 10px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-profile-dashboard section {
  min-height: 0 !important;
  height: 88px !important;
  padding: 10px 12px !important;
  gap: 5px !important;
  align-content: center !important;
  overflow: hidden !important;
  border-radius: 14px !important;
}

html body[data-active-panel="interview"] .interview-profile-dashboard span,
html body[data-active-panel="interview"] .interview-profile-dashboard p,
html body[data-active-panel="interview"] .interview-profile-dashboard em,
html body[data-active-panel="interview"] .interview-profile-dashboard strong,
html body[data-active-panel="interview"] .interview-profile-dashboard b {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"] .interview-profile-user strong {
  font-size: 19px !important;
}

html body[data-active-panel="interview"] .interview-profile-tags {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 5px !important;
}

html body[data-active-panel="interview"] .interview-profile-tags b {
  min-height: 26px !important;
  padding: 0 7px !important;
  font-size: 11px !important;
}

html body[data-active-panel="interview"] .interview-profile-ability b,
html body[data-active-panel="interview"] .interview-profile-gain b,
html body[data-active-panel="interview"] .interview-profile-ability em,
html body[data-active-panel="interview"] .interview-profile-gain em {
  font-size: 16px !important;
}

html body[data-active-panel="interview"] .interview-resume-sync-card,
html body[data-active-panel="interview"] .interview-profile-form {
  display: none !important;
}

html body[data-active-panel="interview"] .interview-workspace-card {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 2 !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 18px !important;
  display: block !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable !important;
}

html body[data-active-panel="interview"] .interview-copilot-card {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 16px !important;
  display: grid !important;
  grid-template-rows: 44px minmax(0, 1fr) !important;
  gap: 12px !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

html body[data-active-panel="interview"] .interview-copilot-card > .section-head {
  min-height: 0 !important;
  height: 44px !important;
  padding: 0 0 10px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-ai-coach-panel {
  min-height: 0 !important;
  height: 100% !important;
  display: grid !important;
  grid-template-rows: 132px 210px minmax(0, 1fr) !important;
  gap: 12px !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

html body[data-active-panel="interview"] .coach-live-score-card,
html body[data-active-panel="interview"] .coach-structure-card,
html body[data-active-panel="interview"] .coach-followup-card,
html body[data-active-panel="interview"] .coach-judge-card {
  min-height: 0 !important;
  max-height: none !important;
  padding: 12px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
}

html body[data-active-panel="interview"] .coach-judge-card[hidden] {
  display: none !important;
}

html body[data-active-panel="interview"] .coach-structure-list,
html body[data-active-panel="interview"] .coach-followup-list {
  gap: 7px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .coach-structure-item,
html body[data-active-panel="interview"] .coach-followup-list button {
  min-height: 32px !important;
  padding: 7px 9px !important;
  font-size: 12px !important;
}

html body[data-active-panel="interview"] .coach-followup-list button.is-collapsed {
  display: none !important;
}

html body[data-active-panel="interview"] .coach-followup-toggle {
  width: 100% !important;
  min-height: 34px !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 12px !important;
  color: #6d4dff !important;
  background: rgba(124, 77, 255, 0.08) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  cursor: pointer !important;
}

html body[data-active-panel="interview"] .coach-live-score-card > p,
html body[data-active-panel="interview"] .coach-followup-card > p,
html body[data-active-panel="interview"] .coach-judge-card > p {
  margin: 0 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
}

html body[data-active-panel="interview"] #interviewProgressStats {
  display: none !important;
}

html body[data-active-panel="interview"] .interview-workspace-card .section-head {
  position: sticky !important;
  top: -18px !important;
  z-index: 4 !important;
  margin: -18px -18px 16px !important;
  padding: 16px 18px 12px !important;
  border-radius: 20px 20px 0 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(12px) !important;
}

html body[data-active-panel="interview"] .interview-progress-board,
html body[data-active-panel="interview"] .interview-coach-strip,
html body[data-active-panel="interview"] .interview-exam-focus,
html body[data-active-panel="interview"] .interview-answer-stack,
html body[data-active-panel="interview"] .interview-state-compact,
html body[data-active-panel="interview"] #feedbackBox {
  max-height: none !important;
  overflow: visible !important;
}

html body[data-active-panel="interview"] .interview-question-feedback-card-inline[hidden] {
  display: none !important;
}

html body[data-active-panel="interview"] .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html body[data-active-panel="interview"] .interview-arena-stack {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px !important;
  min-height: 0 !important;
}

html body[data-active-panel="interview"] .interview-arena-block {
  min-width: 0 !important;
  display: grid !important;
  gap: 14px !important;
  padding: 18px !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
  overflow: visible !important;
}

html body[data-active-panel="interview"] .interview-arena-block-head,
html body[data-active-panel="interview"] .interview-question-card-head {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html body[data-active-panel="interview"] .interview-arena-block-head span,
html body[data-active-panel="interview"] .interview-question-card-head span {
  color: #0f172a !important;
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-question-card-head span {
  display: inline-flex !important;
  align-items: center !important;
}

html body[data-active-panel="interview"] .interview-question-card-head span::before {
  content: "" !important;
  width: 38px !important;
  height: 38px !important;
  margin-right: 10px !important;
  display: inline-grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background:
    url("./assets/interviewer-avatar.png?v=20260614-sidebar-brand-v290") center 30% / 116% 116% no-repeat,
    linear-gradient(135deg, rgba(91, 140, 255, 0.18), rgba(124, 77, 255, 0.14)) !important;
  box-shadow:
    0 8px 18px rgba(91, 140, 255, 0.16),
    inset 0 0 0 1px rgba(124, 77, 255, 0.16) !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-arena-block-head em,
html body[data-active-panel="interview"] .interview-question-card-head em {
  min-height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  color: #6d4dff !important;
  background: rgba(124, 77, 255, 0.1) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-style: normal !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"] .interview-question-card > p {
  margin: 0 !important;
  color: #475569 !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

html body[data-active-panel="interview"] .interview-workspace-card .question-box {
  min-height: 74px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #0f172a !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 25px !important;
  line-height: 1.42 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-question-requirements {
  display: grid !important;
  gap: 10px !important;
}

html body[data-active-panel="interview"] .interview-question-requirements > span {
  color: #7c8aa2 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-question-requirements ul,
html body[data-active-panel="interview"] .interview-question-meta-compact {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

html body[data-active-panel="interview"] .interview-question-requirements li,
html body[data-active-panel="interview"] .interview-question-meta-compact span {
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  color: #475569 !important;
  background: #f1f5ff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="interview"] .interview-question-meta-compact span {
  color: #5b54ff !important;
  background: rgba(124, 77, 255, 0.1) !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
}

html body[data-active-panel="interview"] .interview-question-info-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 2px !important;
}

html body[data-active-panel="interview"] .interview-question-info-row span {
  min-width: 0 !important;
  min-height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 0 12px !important;
  border: 1px solid rgba(91, 140, 255, 0.14) !important;
  border-radius: 14px !important;
  color: #475569 !important;
  background: rgba(91, 140, 255, 0.06) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="interview"] .interview-question-info-row b {
  color: #7c8aa2 !important;
  font-weight: 900 !important;
}

html body[data-active-panel="interview"] .interview-question-info-row strong {
  color: #0f172a !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-answer-zone {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 14px !important;
  align-content: start !important;
}

html body[data-active-panel="interview"] .interview-answer-modes {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.9fr) minmax(340px, 1.1fr) !important;
  gap: 14px !important;
  min-width: 0 !important;
}

html body[data-active-panel="interview"] .interview-voice-mode,
html body[data-active-panel="interview"] .interview-text-mode {
  min-height: 250px !important;
  display: grid !important;
  align-content: start !important;
  gap: 12px !important;
  padding: 16px !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 18px !important;
  background: #f8fbff !important;
}

html body[data-active-panel="interview"] .interview-recording-status-card {
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 0 13px !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
}

html body[data-active-panel="interview"] .interview-recording-status-card span {
  position: relative !important;
  padding-left: 16px !important;
  color: #ef4444 !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"] .interview-recording-status-card span::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #ef4444 !important;
  transform: translateY(-50%) !important;
  box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.12) !important;
}

html body[data-active-panel="interview"] .interview-recording-status-card strong {
  color: #0f172a !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"] .interview-text-mode textarea {
  min-height: 158px !important;
  max-height: none !important;
  border-radius: 16px !important;
  background: #ffffff !important;
}

html body[data-active-panel="interview"] .interview-answer-live-preview {
  min-width: 0 !important;
  display: grid !important;
  gap: 10px !important;
  padding: 16px !important;
  border: 1px solid rgba(34, 197, 94, 0.16) !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 253, 244, 0.84)) !important;
}

html body[data-active-panel="interview"] #interviewAnswerHighlightPreview {
  min-height: 74px !important;
  margin: 0 !important;
  padding: 15px !important;
  border: 1px solid rgba(34, 197, 94, 0.14) !important;
  border-radius: 16px !important;
  color: #0f172a !important;
  background: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
  font-weight: 850 !important;
}

html body[data-active-panel="interview"] #interviewAnswerHighlightPreview mark {
  padding: 1px 5px !important;
  border-radius: 7px !important;
  color: #5b21b6 !important;
  background: rgba(124, 77, 255, 0.14) !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-live-transcript-card {
  background: linear-gradient(135deg, #ffffff, rgba(245, 248, 252, 0.92)) !important;
}

html body[data-active-panel="interview"] .interview-live-transcript-text {
  min-height: 88px !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid rgba(91, 140, 255, 0.14) !important;
  border-radius: 16px !important;
  color: #0f172a !important;
  background: rgba(91, 140, 255, 0.06) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  font-weight: 850 !important;
}

html body[data-active-panel="interview"] .interview-live-transcript-note,
html body[data-active-panel="interview"] .interview-live-transcript-action {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  font-weight: 850 !important;
}

html body[data-active-panel="interview"] .interview-live-transcript-action {
  color: #6d4dff !important;
}

html body[data-active-panel="interview"] .interview-question-feedback-card-inline #feedbackBox {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 16px !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

/* Analysis results belong to the scrollable workspace, not a collapsed third grid row. */
html body[data-active-panel="interview"] #interviewStudio#interviewStudio > .interview-main-dashboard:has(#interviewQuestionFeedbackCard:not([hidden])) {
  grid-auto-rows: max-content !important;
}

html body[data-active-panel="interview"] #interviewQuestionFeedbackCard:not([hidden]) {
  height: auto !important;
  min-height: min-content !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  overflow: visible !important;
}

html body[data-active-panel="interview"] #interviewQuestionFeedbackCard:not([hidden]) #feedbackBox {
  height: auto !important;
  min-height: min-content !important;
  max-height: none !important;
  overflow: visible !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-box {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body[data-active-panel="interview"] .interview-final-feedback {
  display: grid !important;
  gap: 14px !important;
  padding: 16px !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(circle at 94% 0%, rgba(124, 77, 255, 0.12), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96)) !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-head span {
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-head strong {
  color: #7c4dff !important;
  font-size: 36px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-head small {
  margin-left: 2px !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-row {
  min-height: 64px !important;
  display: grid !important;
  place-items: center !important;
  gap: 5px !important;
  padding: 10px 8px !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 14px !important;
  background: #fff !important;
  text-align: center !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-row span {
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-row b {
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-row[data-level="excellent"] b {
  color: #16a34a !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-row[data-level="normal"] b {
  color: #f59e0b !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-row[data-level="weak"] b {
  color: #ef4444 !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-advice {
  margin: 0 !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  color: #334155 !important;
  background: rgba(124, 77, 255, 0.08) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 850 !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-advice strong {
  color: #6d4dff !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-followup {
  margin: 0 !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(91, 140, 255, 0.16) !important;
  border-radius: 14px !important;
  color: #0f172a !important;
  background: rgba(91, 140, 255, 0.08) !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 850 !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-followup strong {
  color: #2563eb !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body[data-active-panel="interview"] .interview-final-feedback-actions .primary-btn,
html body[data-active-panel="interview"] .interview-final-feedback-actions .ghost-btn {
  min-height: 42px !important;
  border-radius: 13px !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

@media (max-width: 1280px) {
  html body[data-active-panel="interview"] .interview-final-feedback-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1180px) {
  html body[data-active-panel="interview"] .interview-answer-modes {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body[data-active-panel="interview"] .interview-question-info-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

html body[data-active-panel="interview"] .interview-bottom-actionbar {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  z-index: 30 !important;
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  margin: 0 !important;
  padding: 12px 24px calc(12px + var(--safe-bottom)) !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 320px) minmax(520px, 760px) !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 18px !important;
  overflow: hidden !important;
  border-width: 1px 0 0 !important;
  border-style: solid !important;
  border-color: rgba(124, 77, 255, 0.16) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 -12px 28px rgba(15, 23, 42, 0.05) !important;
}

html body[data-active-panel="interview"] .interview-profile-drawer-backdrop {
  position: fixed !important;
  inset: 0 !important;
  z-index: 110 !important;
  background: rgba(15, 23, 42, 0.34) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.18s ease !important;
}

html body[data-active-panel="interview"] .interview-profile-drawer-backdrop.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}

html body[data-active-panel="interview"] .interview-profile-drawer-backdrop[hidden] {
  display: none !important;
}

html body .interview-profile-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 111 !important;
  width: min(440px, 92vw) !important;
  padding: 22px !important;
  display: grid !important;
  grid-template-rows: auto auto auto auto 1fr !important;
  gap: 16px !important;
  overflow-y: auto !important;
  transform: translateX(104%) !important;
  transition: transform 0.22s ease !important;
  border-left: 1px solid rgba(124, 77, 255, 0.16) !important;
  background: #ffffff !important;
  box-shadow: -20px 0 50px rgba(15, 23, 42, 0.16) !important;
}

html body .interview-profile-drawer.is-open {
  transform: translateX(0) !important;
}

html body .interview-profile-drawer[hidden] {
  display: none !important;
}

html body .interview-profile-drawer-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 40px !important;
  gap: 12px !important;
  align-items: start !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(124, 77, 255, 0.14) !important;
}

html body .interview-profile-drawer-head span,
html body .interview-profile-drawer-section-head span,
html body .interview-profile-drawer-grid span {
  color: #7c8aa2 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body .interview-profile-drawer-head strong {
  display: block !important;
  margin-top: 4px !important;
  color: #0f172a !important;
  font-size: 30px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
}

html body .interview-profile-drawer-head p {
  margin: 6px 0 0 !important;
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 850 !important;
}

html body .interview-profile-drawer-close {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 12px !important;
  color: #0f172a !important;
  background: #f8fbff !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
}

html body .interview-profile-drawer-section,
html body .interview-profile-drawer-grid > div {
  padding: 16px !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.9)) !important;
}

html body .interview-profile-drawer-section-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

html body .interview-profile-drawer-section-head strong,
html body .interview-profile-drawer-grid strong {
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}

html body .interview-profile-drawer-tags,
html body .interview-profile-drawer-flow {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html body .interview-profile-drawer-tags b,
html body .interview-profile-drawer-flow span {
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  color: #5b54ff !important;
  background: rgba(124, 77, 255, 0.1) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body .interview-profile-drawer-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

html body .interview-profile-drawer-grid p {
  margin: 8px 0 0 !important;
  color: #6d4dff !important;
  font-size: 24px !important;
  font-weight: 950 !important;
}

html body .interview-profile-drawer-list {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding-left: 18px !important;
  color: #475569 !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  line-height: 1.55 !important;
}

@media (max-width: 1180px) {
  html body[data-active-panel="interview"] .interview-training-statusbar,
  html body[data-active-panel="interview"] .interview-bottom-actionbar {
    grid-template-columns: 1fr !important;
    height: auto !important;
    max-height: none !important;
  }

  html body[data-active-panel="interview"] .interview-studio {
    grid-template-rows: auto minmax(0, 1fr) auto !important;
  }

  html body[data-active-panel="interview"] .interview-main-dashboard {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: minmax(0, 1fr) 248px !important;
  }

  html body[data-active-panel="interview"] .interview-copilot-card {
    grid-column: 1 / 2 !important;
    grid-row: 3 / 4 !important;
  }

  html body[data-active-panel="interview"] .interview-ai-coach-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(0, 1fr) !important;
  }

  html body[data-active-panel="interview"] .coach-judge-card {
    display: none !important;
  }
}

/* Last interview scroll ownership guard. */
html body[data-active-panel="interview"] .interview-main-dashboard > .section-card.interview-workspace-card,
html body[data-active-panel="interview"] .interview-workspace-card.section-card {
  grid-column: 1 / 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

html body[data-active-panel="interview"] .interview-main-dashboard > .section-card.interview-setup-card,
html body[data-active-panel="interview"] .interview-main-dashboard > .section-card.interview-copilot-card,
html body[data-active-panel="interview"] .interview-copilot-card.section-card,
html body[data-active-panel="interview"] .interview-ai-coach-panel {
  grid-column: 2 / 3 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  overscroll-behavior: none !important;
}

html body[data-active-panel="interview"] .interview-main-dashboard {
  grid-template-columns: minmax(0, 72%) minmax(320px, 28%) !important;
}

html body[data-active-panel="interview"] .interview-bottom-actionbar {
  position: fixed !important;
  left: 236px !important;
  right: 0 !important;
  top: auto !important;
  bottom: 0 !important;
  width: auto !important;
  height: calc(76px + var(--safe-bottom)) !important;
  min-height: 76px !important;
  max-height: calc(76px + var(--safe-bottom)) !important;
}

html body[data-active-panel="interview"] .interview-training-statusbar {
  position: fixed !important;
  top: 0 !important;
  left: 236px !important;
  right: 0 !important;
  bottom: auto !important;
  width: auto !important;
  height: 80px !important;
  min-height: 80px !important;
  max-height: 80px !important;
  grid-row: 1 / 2 !important;
}

html body[data-active-panel="interview"] .shell.sidebar-collapsed .interview-bottom-actionbar,
html body[data-active-panel="interview"].compact-shell .interview-bottom-actionbar,
html body[data-active-panel="interview"].ios-app .interview-bottom-actionbar,
html.react-student-embedded body[data-active-panel="interview"] .interview-bottom-actionbar {
  left: 0 !important;
}

html body[data-active-panel="interview"] .shell.sidebar-collapsed .interview-training-statusbar,
html body[data-active-panel="interview"].compact-shell .interview-training-statusbar,
html body[data-active-panel="interview"].ios-app .interview-training-statusbar,
html.react-student-embedded body[data-active-panel="interview"] .interview-training-statusbar {
  left: 0 !important;
}

/* Final interview coach guard: keep the right AI coach as a fixed, non-scrolling column. */
html body[data-active-panel="interview"] .interview-main-dashboard {
  align-items: stretch !important;
  grid-template-columns: minmax(0, 72%) minmax(320px, 28%) !important;
  grid-template-rows: minmax(0, 1fr) !important;
}

html body[data-active-panel="interview"] .interview-copilot-card,
html body[data-active-panel="interview"] .interview-copilot-card.section-card {
  align-self: stretch !important;
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 44px minmax(0, 1fr) !important;
  gap: 12px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-copilot-card > .section-head {
  grid-template-columns: minmax(0, 1fr) auto !important;
}

html body[data-active-panel="interview"] .interview-coach-toggle-btn {
  min-height: 30px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 999px !important;
  color: #6d4dff !important;
  background: rgba(124, 77, 255, 0.08) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"].interview-coach-collapsed .interview-main-dashboard {
  grid-template-columns: minmax(0, 1fr) 84px !important;
}

html body[data-active-panel="interview"].interview-coach-collapsed .interview-copilot-card,
html body[data-active-panel="interview"].interview-coach-collapsed .interview-copilot-card.section-card {
  padding: 14px 10px !important;
  grid-template-rows: minmax(0, 1fr) !important;
}

html body[data-active-panel="interview"].interview-coach-collapsed .interview-copilot-card > .section-head {
  height: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: minmax(0, 1fr) auto !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 10px !important;
}

html body[data-active-panel="interview"].interview-coach-collapsed .interview-copilot-card > .section-head > div {
  writing-mode: vertical-rl !important;
  text-orientation: mixed !important;
}

html body[data-active-panel="interview"].interview-coach-collapsed .interview-copilot-card > .section-head .eyebrow {
  display: none !important;
}

html body[data-active-panel="interview"].interview-coach-collapsed .interview-ai-coach-panel {
  display: none !important;
}

/* Product avatar true final lock v200: keep initials visible after all legacy overrides. */
html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar {
  position: relative !important;
  isolation: isolate !important;
  display: inline-grid !important;
  place-items: center !important;
  overflow: hidden !important;
  color: transparent !important;
  text-indent: 0 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  font-size: 0 !important;
  background-color: #5b8cff !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body .topbar-user-avatar::after,
html body .sidebar-account-avatar::after,
html body .account-preview-avatar::after,
html body[data-active-panel="interview"] .interview-training-avatar::after {
  content: attr(data-avatar-initial) !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  display: grid !important;
  place-items: center !important;
  color: #0f172a !important;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42) !important;
  pointer-events: none !important;
}

html body .topbar-user-avatar::after {
  font-size: 13px !important;
}

html body .sidebar-account-avatar::after {
  font-size: 16px !important;
}

html body .account-preview-avatar::after {
  font-size: 22px !important;
}

html body[data-active-panel="interview"] .interview-training-avatar {
  position: relative !important;
  isolation: isolate !important;
  width: 44px !important;
  height: 44px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  border: 1px solid rgba(91, 140, 255, 0.18) !important;
  background: #5b8cff !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.16) !important;
}

html body[data-active-panel="interview"] .interview-training-avatar::after {
  font-size: 19px !important;
}

html body[data-active-panel="interview"] .interview-training-avatar-img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Default account avatar absolute final lock v202: must stay after legacy initial overlays. */
html body .topbar-user-avatar::after,
html body .sidebar-account-avatar::after,
html body .account-preview-avatar::after,
html body[data-active-panel="interview"] .interview-training-avatar::after {
  content: "" !important;
  display: none !important;
}

html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar,
html body[data-active-panel="interview"] .interview-training-avatar {
  color: transparent !important;
  font-size: 0 !important;
  text-indent: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Audio review final lock v246: keep this block last. */
html body[data-active-panel="audio"] #companionDock,
html body[data-active-panel="audio"] #companionMini,
html body[data-active-panel="audio"] #companionMiniAvatar,
html body[data-active-panel="audio"] #companionMiniAvatarStage,
html body[data-active-panel="audio"] #companionMiniCharacter,
html body[data-active-panel="audio"] #companionMiniBubble,
html body[data-active-panel="audio"] #companionAmbientStage,
html body[data-active-panel="audio"] #companionAmbientModel,
html body[data-active-panel="audio"] #companionAmbientCharacter,
html body[data-active-panel="audio"] .companion-dock,
html body[data-active-panel="audio"] .companion-mini,
html body[data-active-panel="audio"] .companion-avatar-stage,
html body[data-active-panel="audio"] .companion-mini-bubble,
html body[data-active-panel="audio"] .companion-ambient-stage,
html body[data-active-panel="audio"] .character-xiaowen,
html body[data-active-panel="audio"] img[src*="xiaowen"],
html body:has(.panel[data-panel="audio"].active) #companionDock,
html body:has(.panel[data-panel="audio"].active) #companionMini,
html body:has(.panel[data-panel="audio"].active) #companionMiniAvatar,
html body:has(.panel[data-panel="audio"].active) #companionMiniAvatarStage,
html body:has(.panel[data-panel="audio"].active) #companionMiniCharacter,
html body:has(.panel[data-panel="audio"].active) #companionMiniBubble,
html body:has(.panel[data-panel="audio"].active) #companionAmbientStage,
html body:has(.panel[data-panel="audio"].active) #companionAmbientModel,
html body:has(.panel[data-panel="audio"].active) #companionAmbientCharacter,
html body:has(.panel[data-panel="audio"].active) .companion-dock,
html body:has(.panel[data-panel="audio"].active) .companion-mini,
html body:has(.panel[data-panel="audio"].active) .companion-avatar-stage,
html body:has(.panel[data-panel="audio"].active) .companion-mini-bubble,
html body:has(.panel[data-panel="audio"].active) .companion-ambient-stage,
html body:has(.panel[data-panel="audio"].active) .character-xiaowen,
html body:has(.panel[data-panel="audio"].active) img[src*="xiaowen"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="audio"] .audio-review-cabin {
  grid-template-rows: 40px 104px minmax(0, 1fr) 104px !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-cabin-title .icon-btn,
html body[data-active-panel="audio"] .audio-panel-head .icon-btn,
html body[data-active-panel="audio"] .audio-question-kicker .icon-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

html body[data-active-panel="audio"] .audio-cabin-statusbar {
  min-height: 104px !important;
  grid-template-columns: minmax(300px, 1.2fr) 118px 118px 124px minmax(230px, 0.9fr) !important;
}

html body[data-active-panel="audio"] .audio-status-actions {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-workspace {
  grid-template-columns: 316px minmax(0, 1fr) 360px !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-dialogue-timeline {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body[data-active-panel="audio"] .audio-cabin-timeline-item * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item {
  min-height: 70px !important;
  padding: 11px 12px 11px 38px !important;
  grid-template-columns: 58px minmax(130px, 1fr) 52px !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  gap: 4px 10px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item span {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item strong {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item em {
  grid-column: 2 / 3 !important;
  grid-row: 2 / 3 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item small {
  grid-column: 3 / 4 !important;
  grid-row: 1 / 3 !important;
  justify-self: end !important;
  align-self: center !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item span,
html body[data-active-panel="audio"] .audio-cabin-timeline-item strong,
html body[data-active-panel="audio"] .audio-cabin-timeline-item em,
html body[data-active-panel="audio"] .audio-cabin-timeline-item small {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="audio"] .audio-thread-block {
  grid-template-columns: 56px minmax(0, 1fr) !important;
  gap: 14px !important;
}

html body[data-active-panel="audio"] .audio-thread-block > img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  object-position: center 32% !important;
  background: #ece8ff !important;
  border: 1px solid rgba(124, 77, 255, 0.22) !important;
  box-shadow: 0 8px 20px rgba(91, 140, 255, 0.12) !important;
}

html body[data-active-panel="audio"] .audio-comment-head {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-coach-panel {
  position: relative !important;
  z-index: 2 !important;
}

html body[data-active-panel="audio"] .audio-action-bar {
  position: relative !important;
  z-index: 3 !important;
  grid-template-columns: 84px minmax(340px, 1fr) minmax(560px, 1.15fr) !important;
  padding-right: 14px !important;
}

html body[data-active-panel="audio"] .audio-action-buttons {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(190px, 1.15fr) minmax(150px, 0.9fr) minmax(150px, 0.9fr) !important;
  gap: 10px !important;
  align-items: center !important;
}

html body[data-active-panel="audio"] .audio-action-buttons .primary-btn,
html body[data-active-panel="audio"] .audio-action-buttons .ghost-btn {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}

/* Audio review red-frame fixes v247: final override for the review cabin. */
html body[data-active-panel="audio"] #companionDock,
html body[data-active-panel="audio"] #companionMini,
html body[data-active-panel="audio"] #companionMiniAvatar,
html body[data-active-panel="audio"] #companionMiniAvatarStage,
html body[data-active-panel="audio"] #companionMiniCharacter,
html body[data-active-panel="audio"] #companionMiniBubble,
html body[data-active-panel="audio"] #companionAmbientStage,
html body[data-active-panel="audio"] #companionAmbientModel,
html body[data-active-panel="audio"] #companionAmbientCharacter,
html body[data-active-panel="audio"] .companion-dock,
html body[data-active-panel="audio"] .companion-mini,
html body[data-active-panel="audio"] .companion-avatar-stage,
html body[data-active-panel="audio"] .companion-mini-bubble,
html body[data-active-panel="audio"] .companion-ambient-stage,
html body[data-active-panel="audio"] .is-workspace-hidden,
html body[data-active-panel="audio"] .character-xiaowen,
html body[data-active-panel="audio"] img[src*="xiaowen"],
html body:has(.panel[data-panel="audio"].active) #companionDock,
html body:has(.panel[data-panel="audio"].active) #companionMini,
html body:has(.panel[data-panel="audio"].active) #companionMiniAvatar,
html body:has(.panel[data-panel="audio"].active) #companionMiniAvatarStage,
html body:has(.panel[data-panel="audio"].active) #companionMiniCharacter,
html body:has(.panel[data-panel="audio"].active) #companionMiniBubble,
html body:has(.panel[data-panel="audio"].active) #companionAmbientStage,
html body:has(.panel[data-panel="audio"].active) #companionAmbientModel,
html body:has(.panel[data-panel="audio"].active) #companionAmbientCharacter,
html body:has(.panel[data-panel="audio"].active) .companion-dock,
html body:has(.panel[data-panel="audio"].active) .companion-mini,
html body:has(.panel[data-panel="audio"].active) .companion-avatar-stage,
html body:has(.panel[data-panel="audio"].active) .companion-mini-bubble,
html body:has(.panel[data-panel="audio"].active) .companion-ambient-stage,
html body:has(.panel[data-panel="audio"].active) .is-workspace-hidden,
html body:has(.panel[data-panel="audio"].active) .character-xiaowen,
html body:has(.panel[data-panel="audio"].active) img[src*="xiaowen"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-title .audio-back-btn,
html body .panel[data-panel="audio"].active .audio-cabin-title .audio-back-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0f172a !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
}

html body[data-active-panel="audio"] .audio-panel-head .audio-collapse-btn,
html body .panel[data-panel="audio"].active .audio-panel-head .audio-collapse-btn {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-workspace,
html body .panel[data-panel="audio"].active .audio-cabin-workspace {
  grid-template-columns: 328px minmax(0, 1fr) 372px !important;
  gap: 14px !important;
}

html body[data-active-panel="audio"] .audio-dialogue-timeline,
html body .panel[data-panel="audio"].active .audio-dialogue-timeline {
  min-height: 0 !important;
  padding: 4px 0 0 12px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 72px !important;
  padding: 10px 12px 10px 38px !important;
  display: grid !important;
  grid-template-columns: 62px minmax(0, 1fr) 54px !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: left !important;
  white-space: normal !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item *,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  letter-spacing: 0 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item .audio-timeline-time,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item .audio-timeline-time {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 2 !important;
  align-self: center !important;
  min-width: 0 !important;
  max-width: 62px !important;
  display: block !important;
  color: #5b54ff !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item .audio-timeline-copy,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item .audio-timeline-copy {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
  align-self: center !important;
  min-width: 0 !important;
  display: grid !important;
  gap: 5px !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item .audio-timeline-copy strong,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item .audio-timeline-copy strong {
  min-width: 0 !important;
  max-width: 100% !important;
  display: block !important;
  color: #0f172a !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 950 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item .audio-timeline-copy em,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item .audio-timeline-copy em {
  min-width: 0 !important;
  max-width: 100% !important;
  display: block !important;
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-style: normal !important;
  font-weight: 800 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item small,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item small {
  grid-column: 3 / 4 !important;
  grid-row: 1 / 2 !important;
  justify-self: end !important;
  align-self: center !important;
  min-width: 0 !important;
  max-width: 54px !important;
  padding: 4px 7px !important;
  border-radius: 999px !important;
  color: #64748b !important;
  background: rgba(148, 163, 184, 0.1) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-thread-block,
html body .panel[data-panel="audio"].active .audio-thread-block {
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 14px !important;
}

html body[data-active-panel="audio"] .audio-thread-block > img,
html body .panel[data-panel="audio"].active .audio-thread-block > img {
  width: 54px !important;
  height: 54px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  object-position: center 34% !important;
  background: #ece8ff !important;
  border: 1px solid rgba(124, 77, 255, 0.22) !important;
  box-shadow: 0 8px 20px rgba(91, 140, 255, 0.14) !important;
}

html body[data-active-panel="audio"] .audio-comment-head,
html body .panel[data-panel="audio"].active .audio-comment-head {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-coach-panel,
html body .panel[data-panel="audio"].active .audio-coach-panel {
  min-height: 0 !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
}

html body[data-active-panel="audio"] .audio-report-digest,
html body[data-active-panel="audio"] .audio-dimension-list,
html body[data-active-panel="audio"] .audio-coach-card,
html body[data-active-panel="audio"] .audio-coach-card ul,
html body .panel[data-panel="audio"].active .audio-report-digest,
html body .panel[data-panel="audio"].active .audio-dimension-list,
html body .panel[data-panel="audio"].active .audio-coach-card,
html body .panel[data-panel="audio"].active .audio-coach-card ul {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

html body[data-active-panel="audio"] .audio-report-digest,
html body .panel[data-panel="audio"].active .audio-report-digest {
  padding: 0 !important;
  display: grid !important;
  gap: 12px !important;
  border: 0 !important;
  background: transparent !important;
}

html body[data-active-panel="audio"] .audio-coach-score,
html body .panel[data-panel="audio"].active .audio-coach-score {
  min-height: auto !important;
  padding: 12px !important;
}

html body[data-active-panel="audio"] .audio-coach-score p,
html body .panel[data-panel="audio"].active .audio-coach-score p,
html body[data-active-panel="audio"] .audio-coach-card li,
html body .panel[data-panel="audio"].active .audio-coach-card li {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

html body[data-active-panel="audio"] .audio-action-bar,
html body .panel[data-panel="audio"].active .audio-action-bar {
  z-index: 3 !important;
  grid-template-columns: 84px minmax(340px, 1fr) minmax(560px, 1.12fr) !important;
  padding-right: 18px !important;
  overflow: hidden !important;
}

/* Workspace stability guard v260: isolate workbench pages from historical page patches. */
html body:not([data-active-panel="landing"]) .topbar {
  min-height: 64px !important;
  display: grid !important;
  grid-template-columns: minmax(150px, 220px) minmax(320px, 640px) minmax(160px, 1fr) !important;
  align-items: center !important;
  gap: 16px !important;
  overflow: visible !important;
}

html body:not([data-active-panel="landing"]) .topbar h1,
html body:not([data-active-panel="landing"]) .topbar h2,
html body:not([data-active-panel="landing"]) .topbar p,
html body:not([data-active-panel="landing"]) .topbar span,
html body:not([data-active-panel="landing"]) .topbar strong,
html body:not([data-active-panel="landing"]) .sidebar,
html body:not([data-active-panel="landing"]) .menu,
html body:not([data-active-panel="landing"]) .menu-item,
html body:not([data-active-panel="landing"]) .sidebar-section,
html body:not([data-active-panel="landing"]) .sidebar-account-card,
html body:not([data-active-panel="landing"]) .sidebar-account-card * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
}

html body:not([data-active-panel="landing"]) .topbar h1,
html body:not([data-active-panel="landing"]) .topbar h2 {
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
}

html body:not([data-active-panel="landing"]) .topbar-search {
  min-width: 0 !important;
  width: 100% !important;
  justify-self: center !important;
}

html body:not([data-active-panel="landing"]) .topbar-search input {
  width: 100% !important;
  min-height: 42px !important;
  line-height: 1.2 !important;
}

html body:not([data-active-panel="landing"]) .topbar-user-trigger {
  justify-self: end !important;
  min-width: 104px !important;
  max-width: 168px !important;
  min-height: 42px !important;
  overflow: hidden !important;
}

html body:not([data-active-panel="landing"]) .topbar-user-trigger strong {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionDock,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionMini,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionMiniAvatar,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionMiniAvatarStage,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionMiniCharacter,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionMiniBubble,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionPanel,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionAmbientStage,
html body.companion-workspace-hidden #companionDock,
html body.companion-workspace-hidden #companionMini,
html body.companion-workspace-hidden #companionMiniAvatar,
html body.companion-workspace-hidden #companionMiniAvatarStage,
html body.companion-workspace-hidden #companionMiniCharacter,
html body.companion-workspace-hidden #companionMiniBubble,
html body.companion-workspace-hidden #companionPanel,
html body.companion-workspace-hidden #companionAmbientStage {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-hero,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 18px 24px !important;
  min-height: 136px !important;
  padding: 22px 28px !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title {
  flex: 1 1 640px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px 16px !important;
  min-width: 0 !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title h2,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title h2 {
  flex: 1 1 420px !important;
  min-width: min(420px, 100%) !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: keep-all !important;
  writing-mode: horizontal-tb !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title > p:last-child,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title > p:last-child {
  flex: 1 0 100% !important;
  max-width: 980px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-status,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-status {
  flex: 0 1 680px !important;
  width: auto !important;
  min-width: min(100%, 520px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-status > div:not(.waveform-progress-ring):not(.waveform-hero-actions),
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-status > div:not(.waveform-progress-ring):not(.waveform-hero-actions) {
  flex: 1 1 128px !important;
  min-width: 128px !important;
  max-width: 180px !important;
}

html body[data-active-panel="waveform"] .waveform-scope-card-main,
html body:has(.panel[data-panel="waveform"].active) .waveform-scope-card-main {
  min-height: 430px !important;
}

html body[data-active-panel="waveform"] .waveform-scope-svg,
html body:has(.panel[data-panel="waveform"].active) .waveform-scope-svg {
  width: 100% !important;
  min-height: 420px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item {
  min-height: 72px !important;
  grid-template-columns: 64px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item *,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

html body[data-active-panel="audio"] .audio-timeline-copy,
html body .panel[data-panel="audio"].active .audio-timeline-copy {
  min-width: 0 !important;
}

html body[data-active-panel="audio"] .audio-timeline-copy strong,
html body .panel[data-panel="audio"].active .audio-timeline-copy strong,
html body[data-active-panel="audio"] .audio-timeline-copy em,
html body .panel[data-panel="audio"].active .audio-timeline-copy em {
  display: block !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-ai-coach-panel,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card > p,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card > p {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.45 !important;
}

@media (max-width: 1280px) {
  html body:not([data-active-panel="landing"]) .topbar {
    grid-template-columns: minmax(120px, 180px) minmax(260px, 1fr) auto !important;
  }

  html body[data-active-panel="waveform"] .waveform-investigation-status,
  html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-status {
    justify-content: flex-start !important;
  }
}

/* Audio review cabin stability v261 final: keep this at file end. */
html body[data-active-panel="audio"] .audio-review-cabin > .audio-workbench-metrics,
html body[data-active-panel="audio"] .audio-review-cabin > .feedback-box.full,
html body[data-active-panel="audio"] .audio-review-cabin > .pipeline-grid.full,
html body[data-active-panel="audio"] .audio-review-cabin > .stack-list,
html body .panel[data-panel="audio"].active .audio-review-cabin > .audio-workbench-metrics,
html body .panel[data-panel="audio"].active .audio-review-cabin > .feedback-box.full,
html body .panel[data-panel="audio"].active .audio-review-cabin > .pipeline-grid.full,
html body .panel[data-panel="audio"].active .audio-review-cabin > .stack-list {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-workspace,
html body .panel[data-panel="audio"].active .audio-cabin-workspace {
  grid-template-columns: clamp(208px, 20vw, 260px) minmax(430px, 1fr) clamp(276px, 24vw, 320px) !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-main-scroll,
html body .panel[data-panel="audio"].active .audio-main-scroll {
  min-width: 0 !important;
  padding: 16px !important;
}

html body[data-active-panel="audio"] .audio-current-question,
html body .panel[data-panel="audio"].active .audio-current-question {
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto) !important;
}

html body[data-active-panel="audio"] .audio-current-question h1,
html body .panel[data-panel="audio"].active .audio-current-question h1,
html body[data-active-panel="audio"] .audio-speech-card p,
html body .panel[data-panel="audio"].active .audio-speech-card p,
html body[data-active-panel="audio"] .audio-coach-card li,
html body .panel[data-panel="audio"].active .audio-coach-card li {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item {
  grid-template-columns: 54px minmax(0, 1fr) 48px !important;
  gap: 4px 8px !important;
}

html body[data-active-panel="audio"] .audio-timeline-copy,
html body .panel[data-panel="audio"].active .audio-timeline-copy {
  min-width: 0 !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-question-meta,
html body .panel[data-panel="audio"].active .audio-question-meta {
  min-width: 112px !important;
  justify-self: end !important;
}

@media (max-width: 1180px) {
  html body[data-active-panel="audio"] .audio-cabin-workspace,
  html body .panel[data-panel="audio"].active .audio-cabin-workspace {
    grid-template-columns: 198px minmax(390px, 1fr) 268px !important;
  }

  html body[data-active-panel="audio"] .audio-question-meta,
  html body .panel[data-panel="audio"].active .audio-question-meta {
    display: none !important;
  }

  html body[data-active-panel="audio"] .audio-current-question,
  html body .panel[data-panel="audio"].active .audio-current-question {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Audio review cabin stability v261: keep the cockpit readable after legacy patches. */
html body[data-active-panel="audio"] .audio-review-cabin > .audio-workbench-metrics,
html body[data-active-panel="audio"] .audio-review-cabin > .feedback-box.full,
html body[data-active-panel="audio"] .audio-review-cabin > .pipeline-grid.full,
html body[data-active-panel="audio"] .audio-review-cabin > .stack-list,
html body .panel[data-panel="audio"].active .audio-review-cabin > .audio-workbench-metrics,
html body .panel[data-panel="audio"].active .audio-review-cabin > .feedback-box.full,
html body .panel[data-panel="audio"].active .audio-review-cabin > .pipeline-grid.full,
html body .panel[data-panel="audio"].active .audio-review-cabin > .stack-list {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-workspace,
html body .panel[data-panel="audio"].active .audio-cabin-workspace {
  grid-template-columns: clamp(208px, 20vw, 260px) minmax(430px, 1fr) clamp(276px, 24vw, 320px) !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-main-scroll,
html body .panel[data-panel="audio"].active .audio-main-scroll {
  min-width: 0 !important;
  padding: 16px !important;
}

html body[data-active-panel="audio"] .audio-current-question,
html body .panel[data-panel="audio"].active .audio-current-question {
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto) !important;
}

html body[data-active-panel="audio"] .audio-current-question h1,
html body .panel[data-panel="audio"].active .audio-current-question h1,
html body[data-active-panel="audio"] .audio-speech-card p,
html body .panel[data-panel="audio"].active .audio-speech-card p,
html body[data-active-panel="audio"] .audio-coach-card li,
html body .panel[data-panel="audio"].active .audio-coach-card li {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item {
  grid-template-columns: 54px minmax(0, 1fr) 48px !important;
  gap: 4px 8px !important;
}

html body[data-active-panel="audio"] .audio-timeline-copy,
html body .panel[data-panel="audio"].active .audio-timeline-copy {
  min-width: 0 !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-question-meta,
html body .panel[data-panel="audio"].active .audio-question-meta {
  min-width: 112px !important;
  justify-self: end !important;
}

@media (max-width: 1180px) {
  html body[data-active-panel="audio"] .audio-cabin-workspace,
  html body .panel[data-panel="audio"].active .audio-cabin-workspace {
    grid-template-columns: 198px minmax(390px, 1fr) 268px !important;
  }

  html body[data-active-panel="audio"] .audio-question-meta,
  html body .panel[data-panel="audio"].active .audio-question-meta {
    display: none !important;
  }

  html body[data-active-panel="audio"] .audio-current-question,
  html body .panel[data-panel="audio"].active .audio-current-question {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Waveform Investigation - 示波器实验台 */
html body[data-active-panel="waveform"] .main,
html body:has(.panel[data-panel="waveform"].active) .main {
  background: #07111f !important;
}

html body[data-active-panel="waveform"] .content,
html body:has(.panel[data-panel="waveform"].active) .content {
  background:
    radial-gradient(circle at 24% 10%, rgba(91, 140, 255, 0.18), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(124, 77, 255, 0.12), transparent 30%),
    #07111f !important;
}

html body[data-active-panel="waveform"] .topbar,
html body:has(.panel[data-panel="waveform"].active) .topbar {
  background: rgba(6, 15, 29, 0.94) !important;
  border-bottom-color: rgba(148, 163, 184, 0.14) !important;
  color: #e5eefc !important;
}

html body[data-active-panel="waveform"] .topbar h1,
html body:has(.panel[data-panel="waveform"].active) .topbar h1 {
  color: #f8fafc !important;
}

html body[data-active-panel="waveform"] #companionDock,
html body[data-active-panel="waveform"] #companionMini,
html body[data-active-panel="waveform"] #companionMiniAvatar,
html body[data-active-panel="waveform"] #companionMiniAvatarStage,
html body[data-active-panel="waveform"] #companionMiniCharacter,
html body[data-active-panel="waveform"] #companionMiniBubble,
html body[data-active-panel="waveform"] #companionAmbientStage,
html body[data-active-panel="waveform"] #companionAmbientModel,
html body[data-active-panel="waveform"] #companionAmbientCharacter,
html body[data-active-panel="waveform"] .companion-dock,
html body[data-active-panel="waveform"] .companion-mini,
html body[data-active-panel="waveform"] .companion-avatar-stage,
html body[data-active-panel="waveform"] .companion-mini-bubble,
html body[data-active-panel="waveform"] .companion-ambient-stage,
html body[data-active-panel="waveform"] .character-xiaowen,
html body[data-active-panel="waveform"] img[src*="xiaowen"],
html body:has(.panel[data-panel="waveform"].active) #companionDock,
html body:has(.panel[data-panel="waveform"].active) #companionMini,
html body:has(.panel[data-panel="waveform"].active) #companionMiniAvatar,
html body:has(.panel[data-panel="waveform"].active) #companionMiniAvatarStage,
html body:has(.panel[data-panel="waveform"].active) #companionMiniCharacter,
html body:has(.panel[data-panel="waveform"].active) #companionMiniBubble,
html body:has(.panel[data-panel="waveform"].active) #companionAmbientStage,
html body:has(.panel[data-panel="waveform"].active) #companionAmbientModel,
html body:has(.panel[data-panel="waveform"].active) #companionAmbientCharacter,
html body:has(.panel[data-panel="waveform"].active) .companion-dock,
html body:has(.panel[data-panel="waveform"].active) .companion-mini,
html body:has(.panel[data-panel="waveform"].active) .companion-avatar-stage,
html body:has(.panel[data-panel="waveform"].active) .companion-mini-bubble,
html body:has(.panel[data-panel="waveform"].active) .companion-ambient-stage,
html body:has(.panel[data-panel="waveform"].active) .character-xiaowen,
html body:has(.panel[data-panel="waveform"].active) img[src*="xiaowen"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="waveform"] .panel[data-panel="waveform"].active,
html body .panel[data-panel="waveform"].active {
  display: block !important;
  padding: 12px 16px 18px !important;
  background: #07111f !important;
  color: #e5eefc !important;
}

html body[data-active-panel="waveform"] #waveformTrainingBoard,
html body .panel[data-panel="waveform"].active #waveformTrainingBoard {
  width: 100% !important;
}

.waveform-investigation-shell,
.waveform-investigation-shell * {
  box-sizing: border-box;
}

.waveform-investigation-shell {
  display: grid;
  gap: 12px;
  min-width: 0;
  color: #dbeafe;
}

.waveform-investigation-hero,
.waveform-investigation-grid,
.waveform-scope-card,
.waveform-measure-card,
.waveform-diagnosis-card,
.waveform-info-card,
.waveform-note-card,
.waveform-ai-panel,
.waveform-ai-card {
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(10, 22, 39, 0.9);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.waveform-investigation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 88px;
  padding: 14px 20px;
  border-radius: 18px;
}

.waveform-investigation-title {
  display: grid;
  grid-template-columns: auto minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 10px 18px;
  align-items: center;
  min-width: 0;
}

.waveform-investigation-title > p:first-child {
  margin: 0;
  color: #eef2ff;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
}

.waveform-investigation-title > p:first-child span {
  color: #93a4bd;
  font-size: 13px;
  font-weight: 850;
}

.waveform-investigation-title h2 {
  margin: 0;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: 0;
}

.waveform-investigation-title > p:last-child {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 920px;
  color: #b9c7dc;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.waveform-investigation-title > p:nth-of-type(2) {
  grid-column: 1 / -1;
  margin: 0;
  max-width: 920px;
  color: #b9c7dc;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
}

.waveform-project-context-banner,
.debug-project-context-banner {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.waveform-project-context-banner span,
.waveform-project-context-banner strong,
.waveform-project-context-banner em,
.debug-project-context-banner span,
.debug-project-context-banner strong,
.debug-project-context-banner em {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.waveform-project-context-banner span,
.debug-project-context-banner span {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.24);
}

.waveform-project-context-banner strong,
.debug-project-context-banner strong {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.waveform-project-context-banner em,
.debug-project-context-banner em {
  color: #bfdbfe;
  background: rgba(91, 140, 255, 0.12);
  border: 1px solid rgba(91, 140, 255, 0.18);
}

.debug-project-context-banner em {
  color: #2563eb;
}

.waveform-investigation-tabs {
  justify-content: flex-start !important;
}

.waveform-investigation-tabs button {
  background: rgba(15, 23, 42, 0.82) !important;
  border-color: rgba(148, 163, 184, 0.18) !important;
  color: #cbd5e1 !important;
  border-radius: 999px !important;
}

.waveform-investigation-tabs button.active {
  background: rgba(124, 77, 255, 0.2) !important;
  border-color: rgba(124, 77, 255, 0.56) !important;
  color: #ffffff !important;
}

.waveform-mode-tabs {
  display: inline-flex;
  width: fit-content;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.36);
}

.waveform-mode-tabs button {
  min-height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9fb0c8;
  font-size: 12px;
  font-weight: 950;
}

.waveform-mode-tabs button.active {
  background: linear-gradient(135deg, #7c4dff, #5b8cff);
  color: #fff;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.2);
}

.waveform-investigation-status {
  display: grid;
  grid-template-columns: auto minmax(104px, 1fr) minmax(104px, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.waveform-investigation-status > div:not(.waveform-progress-ring):not(.waveform-hero-actions) {
  min-height: 56px;
  padding: 9px 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
}

.waveform-investigation-status span {
  display: block;
  color: #9fb0c8;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.waveform-investigation-status strong {
  display: block;
  margin-top: 4px;
  color: #f8fafc;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
}

.waveform-progress-ring {
  --progress: 85;
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: conic-gradient(#7c4dff calc(var(--progress) * 1%), rgba(148, 163, 184, 0.18) 0);
}

.waveform-progress-ring::before {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: #071426;
}

.waveform-progress-ring strong,
.waveform-progress-ring span {
  position: relative;
  z-index: 1;
  text-align: center;
}

.waveform-progress-ring strong {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
}

.waveform-progress-ring span {
  margin-top: -14px;
  font-size: 10px;
}

.waveform-hero-actions {
  display: grid;
  grid-template-columns: auto auto 44px;
  gap: 10px;
  align-items: center;
}

.waveform-hero-actions button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 880;
}

.waveform-hero-avatar {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(124, 77, 255, 0.48);
  border-radius: 999px;
  background-color: rgba(226, 232, 240, 0.9);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.08);
  cursor: pointer;
}

.waveform-investigation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.25fr);
  gap: 12px;
  align-items: start;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.waveform-ability-growth-card {
  padding: 18px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(9, 20, 38, 0.95), rgba(15, 23, 42, 0.9)),
    radial-gradient(circle at 10% 20%, rgba(124, 77, 255, 0.2), transparent 42%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.waveform-growth-title {
  display: grid;
  gap: 6px;
}

.waveform-growth-title span {
  color: #60a5fa;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.waveform-growth-title strong {
  color: #f8fafc;
  font-size: 22px;
  font-weight: 950;
}

.waveform-growth-title p {
  margin: 0;
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}

.waveform-growth-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.waveform-growth-step {
  min-height: 104px;
  padding: 14px;
  display: grid;
  gap: 6px;
  align-content: center;
  border: 1px solid rgba(125, 211, 252, 0.14);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.76);
}

.waveform-growth-step span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 900;
}

.waveform-growth-step strong {
  color: #c4b5fd;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.waveform-growth-step p {
  margin: 0;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

.waveform-growth-step.is-current {
  border-color: rgba(34, 197, 94, 0.34);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(91, 140, 255, 0.1));
}

.waveform-growth-step.is-current strong {
  color: #86efac;
}

.waveform-investigation-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.waveform-scope-card,
.waveform-measure-card,
.waveform-diagnosis-card,
.waveform-info-card,
.waveform-note-card,
.waveform-ai-panel,
.waveform-ai-card {
  border-radius: 16px;
}

body[data-active-panel="waveform"] .waveform-screenshot-assistant,
.panel[data-panel="waveform"].active .waveform-screenshot-assistant {
  display: grid;
  gap: 12px;
  background:
    radial-gradient(circle at 12% 0%, rgba(124, 77, 255, 0.13), transparent 36%),
    rgba(255, 255, 255, 0.96);
}

body[data-active-panel="waveform"] .waveform-screenshot-head,
.panel[data-panel="waveform"].active .waveform-screenshot-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

body[data-active-panel="waveform"] .waveform-screenshot-head h4,
.panel[data-panel="waveform"].active .waveform-screenshot-head h4 {
  margin: 0;
}

body[data-active-panel="waveform"] .waveform-screenshot-head p,
.panel[data-panel="waveform"].active .waveform-screenshot-head p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

body[data-active-panel="waveform"] .waveform-screenshot-head > span,
.panel[data-panel="waveform"].active .waveform-screenshot-head > span {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 10px;
  color: #6d28d9;
  background: rgba(124, 77, 255, 0.11);
  font-weight: 900;
  font-size: 12px;
}

body[data-active-panel="waveform"] .waveform-screenshot-upload,
.panel[data-panel="waveform"].active .waveform-screenshot-upload {
  border: 1px dashed rgba(124, 77, 255, 0.42);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.11), rgba(59, 130, 246, 0.08));
  color: #4f46e5;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  font-weight: 950;
  cursor: pointer;
}

body[data-active-panel="waveform"] .waveform-screenshot-upload strong,
.panel[data-panel="waveform"].active .waveform-screenshot-upload strong {
  color: #64748b;
  font-size: 12px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-active-panel="waveform"] .waveform-screenshot-result,
.panel[data-panel="waveform"].active .waveform-screenshot-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body[data-active-panel="waveform"] .waveform-screenshot-result div,
.panel[data-panel="waveform"].active .waveform-screenshot-result div {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.92);
  padding: 10px;
  min-width: 0;
}

body[data-active-panel="waveform"] .waveform-screenshot-result span,
.panel[data-panel="waveform"].active .waveform-screenshot-result span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
}

body[data-active-panel="waveform"] .waveform-screenshot-result strong,
.panel[data-panel="waveform"].active .waveform-screenshot-result strong {
  display: block;
  margin-top: 4px;
  color: #0f172a;
  font-size: 16px;
  font-weight: 1000;
}

body[data-active-panel="waveform"] .waveform-screenshot-evidence,
body[data-active-panel="waveform"] .waveform-screenshot-empty,
.panel[data-panel="waveform"].active .waveform-screenshot-evidence,
.panel[data-panel="waveform"].active .waveform-screenshot-empty {
  margin: 0;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.04);
  color: #475569;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
}

body[data-active-panel="waveform"] .waveform-screenshot-empty strong,
.panel[data-panel="waveform"].active .waveform-screenshot-empty strong {
  color: #0f172a;
}

body[data-active-panel="waveform"] .waveform-screenshot-action,
.panel[data-panel="waveform"].active .waveform-screenshot-action {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 11px 14px;
  background: linear-gradient(135deg, #7c4dff, #4f8cff);
  color: #fff;
  font-weight: 1000;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.18);
}

.waveform-scope-card {
  padding: 12px;
}

.waveform-scope-card-main {
  min-height: min(880px, calc(100vh - 176px));
  background:
    radial-gradient(circle at 50% 16%, rgba(56, 189, 248, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(9, 20, 36, 0.96), rgba(4, 11, 22, 0.98));
}

.waveform-scope-card-main.is-focus-mode {
  border-color: rgba(124, 77, 255, 0.52);
  box-shadow:
    0 0 0 1px rgba(124, 77, 255, 0.18),
    0 22px 70px rgba(2, 6, 23, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.waveform-scope-toolbar {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(112px, 1fr)) auto 40px;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.waveform-scope-toolbar > strong {
  color: #60a5fa;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.waveform-scope-toolbar label,
.waveform-scope-toolbar button {
  min-height: 36px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.78);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 850;
}

.waveform-scope-toolbar label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: 0 10px;
}

.waveform-scope-toolbar select {
  min-width: 0;
  border: 0;
  background: transparent;
  color: #f8fafc;
  font: inherit;
}

.waveform-scope-toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 12px;
  cursor: pointer;
}

.waveform-scope-toolbar button span {
  width: 24px;
  height: 14px;
  border-radius: 999px;
  background: rgba(71, 85, 105, 0.72);
  box-shadow: inset 13px 0 0 rgba(226, 232, 240, 0.86);
}

.waveform-scope-toolbar button.active {
  border-color: rgba(124, 77, 255, 0.48);
  background:
    linear-gradient(135deg, rgba(124, 77, 255, 0.28), rgba(91, 140, 255, 0.18)),
    rgba(15, 23, 42, 0.92);
  color: #ffffff;
}

.waveform-scope-toolbar button.active span {
  background: linear-gradient(90deg, #7c4dff, #5b8cff);
  box-shadow: inset -13px 0 0 rgba(255, 255, 255, 0.9), 0 0 18px rgba(91, 140, 255, 0.32);
}

.waveform-scope-status-line {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.waveform-scope-status-line span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid rgba(96, 165, 250, 0.16);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.64);
  color: #93c5fd;
  font-size: 11px;
  font-weight: 900;
}

.waveform-scope-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.waveform-scope-stage {
  min-width: 0;
}

.waveform-scope-svg {
  display: block;
  width: 100%;
  height: clamp(720px, 76vh, 1040px);
  min-height: 720px;
  border-radius: 16px;
  overflow: hidden;
  background: #071426;
}

.waveform-live-note-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 500px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(15, 23, 42, 0.72);
}

.waveform-live-note-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.waveform-live-note-head span,
.waveform-note-readback span,
.waveform-ai-note-read span {
  display: block;
  color: #93a4bd;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.3;
}

.waveform-live-note-head h3 {
  margin: 4px 0 0;
  color: #f8fafc;
  font-size: 20px;
  line-height: 1.2;
}

.waveform-live-note-head em {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.13);
  color: #22c55e;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.waveform-live-note-panel textarea {
  flex: 1 1 auto;
  width: 100%;
  min-height: 300px;
  resize: none;
  padding: 14px 14px 14px 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  outline: none;
  background:
    linear-gradient(90deg, rgba(124, 77, 255, 0.32) 0 3px, transparent 3px),
    rgba(2, 6, 23, 0.36);
  color: #dbeafe;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.75;
}

.waveform-live-note-panel textarea:focus {
  border-color: rgba(124, 77, 255, 0.56);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.12);
}

.waveform-note-readback,
.waveform-ai-note-read {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(124, 77, 255, 0.22);
  border-radius: 12px;
  background: rgba(124, 77, 255, 0.1);
}

.waveform-note-readback strong,
.waveform-ai-note-read strong {
  color: #e9d5ff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.55;
}

.waveform-axis text,
.waveform-cursor-box text {
  fill: #cbd5e1;
  font-size: 16px;
  font-weight: 780;
}

.waveform-label {
  font-size: 22px;
  font-weight: 950;
}

.waveform-label-warn {
  fill: #fb923c;
}

.waveform-label-info {
  fill: #38bdf8;
}

.waveform-marker-text {
  fill: #ffffff;
  font-size: 14px;
  font-weight: 950;
}

.waveform-annotation,
.waveform-annotation-value {
  fill: #c4b5fd;
  font-size: 18px;
  font-weight: 950;
}

.waveform-annotation-value {
  font-size: 22px;
}

.waveform-annotation.danger,
.waveform-annotation-value.danger {
  fill: #f9a8d4;
}

.waveform-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.waveform-card-head h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 17px;
  line-height: 1.2;
}

.waveform-card-head span {
  color: #90a4c2;
  font-size: 12px;
  font-weight: 850;
}

.waveform-measure-card,
.waveform-diagnosis-card,
.waveform-info-card,
.waveform-note-card {
  padding: 14px;
}

.waveform-measure-card {
  border-color: rgba(56, 189, 248, 0.2);
  background:
    radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(8, 19, 34, 0.98), rgba(3, 10, 20, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.waveform-measure-card,
.waveform-diagnosis-card {
  min-height: 156px;
}

.waveform-measure-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.46);
}

.waveform-measure-item {
  position: relative;
  appearance: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 10px;
  min-height: 118px;
  padding: 14px;
  border: 0;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.54));
  color: #cbd5e1;
  cursor: pointer;
  text-align: left;
}

.waveform-measure-item:last-child {
  border-right: 0;
}

.waveform-measure-item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: #38bdf8;
}

.waveform-measure-name {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
  min-width: 0;
}

.waveform-measure-name span {
  color: #e0f2fe;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.waveform-measure-name small {
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waveform-measure-item p {
  grid-column: 1 / -1;
  margin: 0;
  color: #9fb0c8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.waveform-measure-item strong {
  grid-column: 1 / 2;
  align-self: center;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 30px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.waveform-measure-item em {
  grid-column: 2 / 3;
  align-self: end;
  justify-self: end;
  min-width: 44px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  color: #ffffff;
  background: rgba(148, 163, 184, 0.22);
}

.waveform-measure-item p {
  align-self: end;
  color: #7f8fa8;
}

.waveform-measure-item.danger::before {
  background: #ef4444;
}

.waveform-measure-item.danger em {
  background: #ef4444;
}

.waveform-measure-item.warn::before {
  background: #f59e0b;
}

.waveform-measure-item.warn em {
  background: #f59e0b;
}

.waveform-measure-item.success::before {
  background: #22c55e;
}

.waveform-measure-item.success em {
  background: #22c55e;
}

.waveform-measure-item.locked {
  border-right-color: rgba(148, 163, 184, 0.1);
  background:
    repeating-linear-gradient(135deg, rgba(148, 163, 184, 0.04) 0 8px, transparent 8px 16px),
    linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(2, 6, 23, 0.54));
}

.waveform-measure-item.locked::before {
  background: #64748b;
}

.waveform-measure-item.locked strong {
  color: #cbd5e1;
  font-size: 21px;
  letter-spacing: 0;
}

.waveform-measure-item.locked em {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
}

.waveform-measure-item.active {
  z-index: 1;
  box-shadow:
    inset 0 0 0 1px rgba(56, 189, 248, 0.62),
    0 0 0 1px rgba(56, 189, 248, 0.18),
    0 18px 34px rgba(14, 165, 233, 0.16);
  background:
    radial-gradient(circle at 48% 0%, rgba(56, 189, 248, 0.22), transparent 48%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.68));
}

.waveform-measure-item.active .waveform-measure-name span,
.waveform-measure-item.active strong {
  color: #bae6fd;
}

.waveform-diagnosis-path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(34, 197, 94, 0.08), rgba(124, 77, 255, 0.08) 46%, rgba(56, 189, 248, 0.07)),
    rgba(2, 6, 23, 0.42);
}

.waveform-diagnosis-card {
  background:
    radial-gradient(circle at 10% 0%, rgba(34, 197, 94, 0.12), transparent 34%),
    linear-gradient(90deg, rgba(124, 77, 255, 0.1), transparent 32%),
    rgba(10, 22, 39, 0.9);
}

.waveform-diagnosis-card .waveform-card-head {
  margin-bottom: 10px;
}

.waveform-diagnosis-path i {
  display: none;
}

.waveform-diagnosis-node {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  min-height: 104px;
  padding: 14px 18px 14px 14px;
  border: 0;
  border-right: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0;
  background: rgba(15, 23, 42, 0.58);
  color: #cbd5e1;
  text-align: left;
}

.waveform-diagnosis-node:last-child {
  border-right: 0;
}

.waveform-diagnosis-node::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -9px;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  border-right: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(8, 16, 30, 0.96);
  transform: translateY(-50%) rotate(45deg);
}

.waveform-diagnosis-node:last-child::after {
  display: none;
}

.waveform-diagnosis-index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 950;
}

.waveform-diagnosis-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.waveform-diagnosis-copy small {
  color: #7c8ca6;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
}

.waveform-diagnosis-copy strong {
  min-width: 0;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 930;
  line-height: 1.3;
}

.waveform-diagnosis-copy em {
  min-width: 0;
  color: #91a4bd;
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
  line-height: 1.35;
}

.waveform-diagnosis-node.done {
  background:
    linear-gradient(180deg, rgba(34, 197, 94, 0.14), rgba(15, 23, 42, 0.56));
}

.waveform-diagnosis-node.done .waveform-diagnosis-index {
  background: #22c55e;
  color: #ffffff;
}

.waveform-diagnosis-node.active {
  box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.52);
  background:
    linear-gradient(180deg, rgba(124, 77, 255, 0.2), rgba(15, 23, 42, 0.62));
}

.waveform-diagnosis-node.active .waveform-diagnosis-index {
  background: #7c4dff;
  color: #ffffff;
}

.waveform-diagnosis-node.active .waveform-diagnosis-copy small {
  color: #bda8ff;
}

.waveform-training-form-card,
.waveform-training-result-card {
  display: grid;
  gap: 14px;
  min-height: 156px;
  padding: 16px;
  border: 1px solid rgba(124, 77, 255, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 77, 255, 0.16), transparent 38%),
    rgba(15, 23, 42, 0.62);
}

.waveform-training-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.waveform-training-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.waveform-training-form label.wide {
  grid-column: span 2;
}

.waveform-training-form span {
  color: #a7b4c8;
  font-size: 12px;
  font-weight: 950;
}

.waveform-training-form input,
.waveform-training-form select,
.waveform-training-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(2, 6, 23, 0.48);
  color: #e5eefc;
  font-size: 13px;
  font-weight: 780;
}

.waveform-training-form textarea {
  min-height: 82px;
  resize: vertical;
  line-height: 1.5;
}

.waveform-training-form input:focus,
.waveform-training-form select:focus,
.waveform-training-form textarea:focus {
  border-color: rgba(124, 77, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.12);
}

.waveform-training-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.waveform-training-form-actions p {
  flex: 1;
  margin: 0;
  color: #9fb0c8;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.5;
}

.waveform-score-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.waveform-score-strip div {
  min-height: 94px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.34);
}

.waveform-score-strip span,
.waveform-score-strip em {
  display: block;
  color: #93a4bd;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.waveform-score-strip strong {
  display: block;
  margin: 6px 0;
  color: #a78bfa;
  font-size: 34px;
  line-height: 1;
}

.waveform-answer-compare {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.8fr;
  gap: 12px;
}

.waveform-answer-compare section {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.28);
}

.waveform-answer-compare h4 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: 14px;
}

.waveform-answer-compare p {
  display: grid;
  gap: 4px;
  margin: 0 0 9px;
  color: #dbeafe;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.5;
}

.waveform-answer-compare p span {
  color: #93a4bd;
  font-size: 12px;
  font-weight: 950;
}

.waveform-locked-answer {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px dashed rgba(245, 158, 11, 0.4);
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.08);
}

.waveform-locked-answer strong {
  color: #fde68a;
  font-size: 15px;
}

.waveform-locked-answer p {
  margin: 0;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.5;
}

.waveform-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 12px;
}

.waveform-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.waveform-info-grid p {
  display: grid;
  gap: 6px;
  min-height: 54px;
  margin: 0;
}

.waveform-info-grid span,
.waveform-note-card p {
  color: #93a4bd;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.55;
}

.waveform-info-grid strong {
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.waveform-note-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 194px;
}

.waveform-note-card button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: #dbeafe;
}

.waveform-note-card textarea {
  min-height: 92px;
  width: 100%;
  resize: none;
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 12px;
  outline: none;
  background: rgba(15, 23, 42, 0.54);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.6;
}

.waveform-note-card textarea:focus {
  border-color: rgba(124, 77, 255, 0.56);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.12);
}

.waveform-ai-panel {
  position: sticky;
  top: 72px;
  display: grid;
  gap: 10px;
  align-self: start;
  max-height: calc(100vh - 86px);
  padding: 12px;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

.waveform-ai-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.waveform-ai-head p {
  margin: 0 0 4px;
  color: #9fb0c8;
  font-size: 12px;
  font-weight: 950;
}

.waveform-ai-head h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 20px;
}

.waveform-ai-head button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(124, 77, 255, 0.42);
  border-radius: 999px;
  background: rgba(124, 77, 255, 0.16);
  color: #c4b5fd;
  font-weight: 900;
}

.waveform-ai-card {
  padding: 12px;
  background: rgba(15, 23, 42, 0.58);
  box-shadow: none;
}

.waveform-ai-card h4 {
  margin: 0 0 12px;
  color: #f8fafc;
  font-size: 15px;
  line-height: 1.25;
}

.waveform-observation-list {
  display: grid;
  gap: 8px;
}

.waveform-observation-list button {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  background: rgba(2, 6, 23, 0.3);
  color: #cbd5e1;
}

.waveform-observation-list button span,
.waveform-observation-list button em {
  color: #9fb0c8;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.waveform-observation-list button strong {
  min-width: 0;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waveform-observation-list button.done {
  border-color: rgba(34, 197, 94, 0.34);
}

.waveform-observation-list button.done em {
  color: #22c55e;
}

.waveform-observation-list button.active {
  border-color: rgba(124, 77, 255, 0.62);
  background: rgba(124, 77, 255, 0.18);
}

.waveform-observation-list button.active em {
  color: #a78bfa;
}

.waveform-guide-chat {
  display: grid;
  gap: 10px;
}

.waveform-guide-chat p {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.28);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.55;
}

.waveform-guide-chat p.user {
  margin-left: 24px;
  border-color: rgba(124, 77, 255, 0.28);
  background: rgba(124, 77, 255, 0.16);
}

.waveform-guide-chat span {
  color: #a78bfa;
  font-size: 12px;
  font-weight: 950;
}

.waveform-observe-focus {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.14), transparent 42%),
    rgba(2, 6, 23, 0.34);
}

.waveform-observe-focus > span {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.13);
  font-size: 12px;
  font-weight: 950;
}

.waveform-observe-focus strong {
  color: #f8fafc;
  font-size: 17px;
  line-height: 1.25;
}

.waveform-observe-focus p {
  margin: 0;
  color: #9fb0c8;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.5;
}

.waveform-observe-focus dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.waveform-observe-focus dl div {
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.52);
}

.waveform-observe-focus dt,
.waveform-observe-focus dd {
  margin: 0;
}

.waveform-observe-focus dt {
  color: #7f8fa8;
  font-size: 11px;
  font-weight: 900;
}

.waveform-observe-focus dd {
  margin-top: 5px;
  overflow: hidden;
  color: #f8fafc;
  font-size: 13px;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waveform-evidence-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.waveform-evidence-chips button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.58);
  color: #9fb0c8;
  font-size: 12px;
  font-weight: 900;
}

.waveform-evidence-chips button.active {
  border-color: rgba(56, 189, 248, 0.58);
  background: rgba(14, 165, 233, 0.18);
  color: #bae6fd;
}

.waveform-guide-steps {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.waveform-guide-steps p {
  position: relative;
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 11px 12px 11px 34px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.26);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.5;
}

.waveform-guide-steps p::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38bdf8;
}

.waveform-guide-steps p.active {
  border-color: rgba(124, 77, 255, 0.38);
  background: rgba(124, 77, 255, 0.14);
}

.waveform-guide-steps p.active::before {
  background: #a78bfa;
}

.waveform-guide-steps span {
  color: #a78bfa;
  font-size: 12px;
  font-weight: 950;
}

.waveform-tip-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.waveform-tip-list li {
  position: relative;
  padding-left: 18px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 790;
  line-height: 1.45;
}

.waveform-tip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #38bdf8;
}

.waveform-tip-list li.warn::before {
  background: #f59e0b;
}

.waveform-tip-list li.danger::before {
  background: #ef4444;
}

.waveform-tip-list li.success::before {
  background: #22c55e;
}

.waveform-conclusion-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.waveform-conclusion-card div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
}

.waveform-conclusion-card dt {
  color: #93a4bd;
  font-size: 12px;
  font-weight: 850;
}

.waveform-conclusion-card dd {
  min-width: 0;
  margin: 0;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.waveform-conclusion-card .primary-btn {
  min-height: 44px;
  border-radius: 10px;
}

.waveform-final-conclusion-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 77, 255, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(11, 18, 32, 0.94));
  box-shadow: 0 18px 42px rgba(2, 6, 23, 0.22);
}

.waveform-final-conclusion-card.pending {
  border-style: dashed;
  border-color: rgba(124, 77, 255, 0.35);
}

.waveform-final-pending {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(124, 77, 255, 0.24);
  border-radius: 16px;
  background: rgba(124, 77, 255, 0.1);
}

.waveform-final-pending strong,
.waveform-final-main strong,
.waveform-final-grid strong {
  display: block;
  color: #f8fafc;
  font-weight: 950;
}

.waveform-final-pending p,
.waveform-final-main p,
.waveform-final-grid p,
.waveform-final-actions p {
  margin: 6px 0 0;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.55;
}

.waveform-final-report {
  display: grid;
  gap: 14px;
}

.waveform-final-main {
  padding: 18px;
  border: 1px solid rgba(124, 77, 255, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(124, 77, 255, 0.86), rgba(91, 140, 255, 0.74)),
    rgba(15, 23, 42, 0.78);
  box-shadow: 0 16px 28px rgba(79, 70, 229, 0.24);
}

.waveform-final-main span,
.waveform-final-grid span {
  display: block;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.waveform-final-main strong {
  margin-top: 6px;
  font-size: 26px;
}

.waveform-final-main p {
  color: rgba(255, 255, 255, 0.84);
}

.waveform-final-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.waveform-final-grid div {
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.25);
}

.waveform-final-grid strong {
  margin-top: 8px;
  font-size: 19px;
}

.waveform-final-validation {
  grid-column: span 2;
}

.waveform-final-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding-top: 2px;
}

.waveform-final-actions p {
  margin: 0;
}

/* Waveform workbench frame lock v259: prevent mixed-version topbar/hero compression. */
html body[data-active-panel="waveform"] .topbar,
html body:has(.panel[data-panel="waveform"].active) .topbar {
  min-height: 66px !important;
  display: grid !important;
  grid-template-columns: minmax(168px, 220px) minmax(420px, 680px) minmax(180px, 1fr) !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 10px 22px !important;
  border-radius: 0 !important;
  background: rgba(4, 12, 24, 0.96) !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
  box-shadow: none !important;
}

html body[data-active-panel="waveform"] .topbar h2,
html body:has(.panel[data-panel="waveform"].active) .topbar h2 {
  opacity: 1 !important;
  color: #f8fafc !important;
  font-size: 20px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="waveform"] .topbar-search,
html body:has(.panel[data-panel="waveform"].active) .topbar-search {
  width: 100% !important;
  max-width: 680px !important;
}

html body[data-active-panel="waveform"] .topbar-search input,
html body:has(.panel[data-panel="waveform"].active) .topbar-search input {
  min-height: 42px !important;
  border-radius: 999px !important;
  background: rgba(15, 23, 42, 0.9) !important;
  color: #dbeafe !important;
  box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.32) !important;
}

html body[data-active-panel="waveform"] .topbar-user-trigger,
html body:has(.panel[data-panel="waveform"].active) .topbar-user-trigger {
  min-height: 42px !important;
  max-width: 150px !important;
  color: #f8fafc !important;
  background: rgba(15, 23, 42, 0.78) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

html body[data-active-panel="waveform"] .topbar-user-trigger strong,
html body:has(.panel[data-panel="waveform"].active) .topbar-user-trigger strong {
  color: #f8fafc !important;
  max-width: 64px !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-hero,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-hero {
  grid-template-columns: minmax(620px, 1fr) minmax(500px, auto) !important;
  gap: 22px !important;
  align-items: center !important;
  min-height: 148px !important;
  padding: 22px 28px !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title {
  grid-template-columns: auto minmax(260px, auto) !important;
  align-items: center !important;
  gap: 12px 18px !important;
  min-width: 0 !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title > p:first-child,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title > p:first-child {
  min-width: max-content !important;
  white-space: nowrap !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title h2,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title h2 {
  grid-column: 1 / -1 !important;
  max-width: 100% !important;
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1.16 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  writing-mode: horizontal-tb !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title > p:last-child,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title > p:last-child {
  max-width: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title > p:nth-of-type(2),
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title > p:nth-of-type(2) {
  grid-column: 1 / -1 !important;
  max-width: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="waveform"] .waveform-project-context-banner,
html body:has(.panel[data-panel="waveform"].active) .waveform-project-context-banner {
  grid-column: 1 / -1 !important;
  min-width: 0 !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-status,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-status {
  grid-template-columns: 72px minmax(128px, 1fr) minmax(128px, 1fr) auto !important;
  justify-self: end !important;
  width: min(100%, 720px) !important;
  min-width: 0 !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-status > div,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-status > div {
  min-width: 0 !important;
}

html body[data-active-panel="waveform"] .waveform-hero-actions,
html body:has(.panel[data-panel="waveform"].active) .waveform-hero-actions {
  grid-template-columns: auto auto 44px !important;
  min-width: max-content !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-tabs,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  min-width: 0 !important;
}

@media (max-width: 1500px) {
  html body[data-active-panel="waveform"] .waveform-investigation-hero,
  html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-hero {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html body[data-active-panel="waveform"] .waveform-investigation-status,
  html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-status {
    justify-self: stretch !important;
    width: 100% !important;
  }
}

@media (max-width: 1180px) {
  html body[data-active-panel="waveform"] .topbar,
  html body:has(.panel[data-panel="waveform"].active) .topbar {
    grid-template-columns: minmax(120px, 160px) minmax(260px, 1fr) auto !important;
  }

  html body[data-active-panel="waveform"] .waveform-investigation-title h2,
  html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title h2,
  html body[data-active-panel="waveform"] .waveform-investigation-title > p:last-child,
  html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title > p:last-child {
    white-space: normal !important;
  }
}

@media (max-width: 1380px) {
  .waveform-investigation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .waveform-ai-panel {
    position: relative;
    top: auto;
    max-height: none;
  }
}

@media (max-width: 1100px) {
  .waveform-investigation-hero,
  .waveform-investigation-status,
  .waveform-scope-toolbar,
  .waveform-measure-grid,
  .waveform-diagnosis-path,
  .waveform-bottom-grid,
  .waveform-info-grid,
  .waveform-final-grid,
  .waveform-final-actions,
  .waveform-final-pending {
    grid-template-columns: 1fr;
  }

  .waveform-final-validation {
    grid-column: auto;
  }

  .waveform-diagnosis-node {
    border-right: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  }

  .waveform-diagnosis-node::after {
    top: auto;
    right: 50%;
    bottom: -9px;
    transform: translateX(50%) rotate(135deg);
  }

  .waveform-scope-svg {
    min-height: 360px;
  }
}

@media (max-width: 1480px) {
  html body[data-active-panel="audio"] .audio-cabin-workspace {
    grid-template-columns: 300px minmax(0, 1fr) 340px !important;
  }

  html body[data-active-panel="audio"] .audio-cabin-timeline-item {
    grid-template-columns: 54px minmax(118px, 1fr) 50px !important;
  }

  html body[data-active-panel="audio"] .audio-action-bar {
    grid-template-columns: 78px minmax(300px, 1fr) minmax(500px, 1.12fr) !important;
  }
}

@media (max-width: 1320px) {
  html body[data-active-panel="audio"] .audio-cabin-workspace {
    grid-template-columns: 286px minmax(0, 1fr) 324px !important;
  }

  html body[data-active-panel="audio"] .audio-cabin-timeline-item {
    grid-template-columns: 52px minmax(108px, 1fr) 48px !important;
    padding-left: 36px !important;
  }
}

/* Audio review final polish v246: clean cockpit details and remove stray coach avatars. */
html body[data-active-panel="audio"] #companionDock,
html body[data-active-panel="audio"] #companionMini,
html body[data-active-panel="audio"] #companionMiniAvatar,
html body[data-active-panel="audio"] #companionMiniAvatarStage,
html body[data-active-panel="audio"] #companionMiniCharacter,
html body[data-active-panel="audio"] #companionMiniBubble,
html body[data-active-panel="audio"] #companionAmbientStage,
html body[data-active-panel="audio"] #companionAmbientModel,
html body[data-active-panel="audio"] #companionAmbientCharacter,
html body[data-active-panel="audio"] .companion-dock,
html body[data-active-panel="audio"] .companion-mini,
html body[data-active-panel="audio"] .companion-avatar-stage,
html body[data-active-panel="audio"] .companion-mini-bubble,
html body[data-active-panel="audio"] .companion-ambient-stage,
html body[data-active-panel="audio"] .character-xiaowen,
html body[data-active-panel="audio"] img[src*="xiaowen"],
html body:has(.panel[data-panel="audio"].active) #companionDock,
html body:has(.panel[data-panel="audio"].active) #companionMini,
html body:has(.panel[data-panel="audio"].active) #companionMiniAvatar,
html body:has(.panel[data-panel="audio"].active) #companionMiniAvatarStage,
html body:has(.panel[data-panel="audio"].active) #companionMiniCharacter,
html body:has(.panel[data-panel="audio"].active) #companionMiniBubble,
html body:has(.panel[data-panel="audio"].active) #companionAmbientStage,
html body:has(.panel[data-panel="audio"].active) #companionAmbientModel,
html body:has(.panel[data-panel="audio"].active) #companionAmbientCharacter,
html body:has(.panel[data-panel="audio"].active) .companion-dock,
html body:has(.panel[data-panel="audio"].active) .companion-mini,
html body:has(.panel[data-panel="audio"].active) .companion-avatar-stage,
html body:has(.panel[data-panel="audio"].active) .companion-mini-bubble,
html body:has(.panel[data-panel="audio"].active) .companion-ambient-stage,
html body:has(.panel[data-panel="audio"].active) .character-xiaowen,
html body:has(.panel[data-panel="audio"].active) img[src*="xiaowen"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="audio"] .audio-review-cabin {
  grid-template-rows: 40px 104px minmax(0, 1fr) 104px !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-cabin-title .icon-btn,
html body[data-active-panel="audio"] .audio-panel-head .icon-btn,
html body[data-active-panel="audio"] .audio-question-kicker .icon-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

html body[data-active-panel="audio"] .audio-panel-head .icon-btn,
html body[data-active-panel="audio"] .audio-question-kicker .icon-btn {
  font-size: 14px !important;
}

html body[data-active-panel="audio"] .audio-cabin-statusbar {
  min-height: 104px !important;
  grid-template-columns: minmax(300px, 1.2fr) 118px 118px 124px minmax(230px, 0.9fr) !important;
}

html body[data-active-panel="audio"] .audio-status-actions {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-status-hero,
html body[data-active-panel="audio"] .audio-top-metric,
html body[data-active-panel="audio"] .audio-training-card {
  padding: 14px !important;
}

html body[data-active-panel="audio"] .audio-cabin-workspace {
  grid-template-columns: 316px minmax(0, 1fr) 360px !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-dialogue-timeline {
  padding: 2px 0 0 12px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body[data-active-panel="audio"] .audio-cabin-timeline-item * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item {
  min-height: 70px !important;
  padding: 11px 12px 11px 38px !important;
  grid-template-columns: 58px minmax(130px, 1fr) 52px !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  gap: 4px 10px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item span,
html body[data-active-panel="audio"] .audio-cabin-timeline-item strong,
html body[data-active-panel="audio"] .audio-cabin-timeline-item em {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item span {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item strong {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item em {
  grid-column: 2 / 3 !important;
  grid-row: 2 / 3 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item small {
  grid-column: 3 / 4 !important;
  grid-row: 1 / 3 !important;
  justify-self: end !important;
  align-self: center !important;
}

html body[data-active-panel="audio"] .audio-thread-block {
  grid-template-columns: 56px minmax(0, 1fr) !important;
  gap: 14px !important;
}

html body[data-active-panel="audio"] .audio-thread-block > img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  object-position: center 32% !important;
  background: #ece8ff !important;
  border: 1px solid rgba(124, 77, 255, 0.22) !important;
  box-shadow: 0 8px 20px rgba(91, 140, 255, 0.12) !important;
}

html body[data-active-panel="audio"] .audio-analysis-card {
  gap: 8px !important;
}

html body[data-active-panel="audio"] .audio-comment-head {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-ai-comment {
  gap: 8px !important;
}

html body[data-active-panel="audio"] .audio-ai-comment p {
  margin-top: 0 !important;
}

html body[data-active-panel="audio"] .audio-coach-panel {
  position: relative !important;
  z-index: 2 !important;
  grid-template-rows: 38px minmax(210px, 1fr) 150px 128px !important;
}

html body[data-active-panel="audio"] .audio-action-bar {
  position: relative !important;
  z-index: 3 !important;
  grid-template-columns: 84px minmax(340px, 1fr) minmax(560px, 1.15fr) !important;
  padding-right: 14px !important;
}

html body[data-active-panel="audio"] .audio-action-buttons {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(190px, 1.15fr) minmax(150px, 0.9fr) minmax(150px, 0.9fr) !important;
  gap: 10px !important;
  align-items: center !important;
}

html body[data-active-panel="audio"] .audio-action-buttons .primary-btn,
html body[data-active-panel="audio"] .audio-action-buttons .ghost-btn {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}

@media (max-width: 1480px) {
  html body[data-active-panel="audio"] .audio-cabin-workspace {
    grid-template-columns: 300px minmax(0, 1fr) 340px !important;
  }

  html body[data-active-panel="audio"] .audio-cabin-timeline-item {
    grid-template-columns: 54px minmax(118px, 1fr) 50px !important;
  }

  html body[data-active-panel="audio"] .audio-action-bar {
    grid-template-columns: 78px minmax(300px, 1fr) minmax(500px, 1.12fr) !important;
  }
}

@media (max-width: 1320px) {
  html body[data-active-panel="audio"] .audio-cabin-workspace {
    grid-template-columns: 286px minmax(0, 1fr) 324px !important;
  }

  html body[data-active-panel="audio"] .audio-cabin-timeline-item {
    grid-template-columns: 52px minmax(108px, 1fr) 48px !important;
    padding-left: 36px !important;
  }
}

/* Audio review cabin final frame v210. */
html body[data-active-panel="audio"] {
  overflow: hidden !important;
  background: #f5f8fc !important;
}

html body[data-active-panel="audio"] .shell {
  height: 100dvh !important;
  min-height: 100dvh !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .main {
  height: 100dvh !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #f5f8fc !important;
}

html body[data-active-panel="audio"] .topbar,
html body[data-active-panel="audio"] #globalNotice {
  display: none !important;
}

html body[data-active-panel="audio"] .panel[data-panel="audio"] {
  display: block !important;
  height: 100dvh !important;
  min-height: 0 !important;
  padding: 14px 18px !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 16% 8%, rgba(91, 140, 255, 0.08), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #f5f8fc 100%) !important;
}

html body[data-active-panel="audio"] .audio-review-cabin {
  position: relative !important;
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: 42px 92px minmax(0, 1fr) 112px !important;
  gap: 10px !important;
  overflow: hidden !important;
  color: #0f172a !important;
}

html body[data-active-panel="audio"] .audio-cabin-form {
  display: contents !important;
}

html body[data-active-panel="audio"] .audio-cabin-header,
html body[data-active-panel="audio"] .audio-cabin-statusbar,
html body[data-active-panel="audio"] .audio-timeline-panel,
html body[data-active-panel="audio"] .audio-review-main,
html body[data-active-panel="audio"] .audio-coach-panel,
html body[data-active-panel="audio"] .audio-action-bar {
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07) !important;
}

html body[data-active-panel="audio"] .audio-cabin-header {
  min-height: 0 !important;
  padding: 0 6px 0 2px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  border-radius: 14px !important;
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

html body[data-active-panel="audio"] .audio-cabin-title {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

html body[data-active-panel="audio"] .audio-cabin-title .icon-btn {
  width: 30px !important;
  height: 30px !important;
  border-radius: 10px !important;
}

html body[data-active-panel="audio"] .audio-cabin-title h2 {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

html body[data-active-panel="audio"] .audio-cabin-title span,
html body[data-active-panel="audio"] .audio-session-card > span,
html body[data-active-panel="audio"] .audio-question-tags span {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  min-height: 24px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  color: #6d4dff !important;
  background: rgba(124, 77, 255, 0.1) !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="audio"] .audio-upload-button {
  position: relative !important;
  width: 146px !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(124, 77, 255, 0.35) !important;
  background: #ffffff !important;
  color: #6d4dff !important;
  cursor: pointer !important;
}

html body[data-active-panel="audio"] .audio-upload-button input {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
}

html body[data-active-panel="audio"] .audio-upload-button strong {
  font-size: 13px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-upload-button em {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-statusbar {
  min-height: 0 !important;
  padding: 12px !important;
  display: grid !important;
  grid-template-columns: minmax(250px, 1.25fr) 112px 112px 124px minmax(220px, 1fr) 184px !important;
  align-items: center !important;
  gap: 12px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-status-hero,
html body[data-active-panel="audio"] .audio-profile-card,
html body[data-active-panel="audio"] .audio-session-card,
html body[data-active-panel="audio"] .audio-top-metric,
html body[data-active-panel="audio"] .audio-training-card,
html body[data-active-panel="audio"] .audio-report-actions {
  min-width: 0 !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  border-radius: 12px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)) !important;
  box-shadow: 0 10px 26px rgba(91, 140, 255, 0.08) !important;
}

html body[data-active-panel="audio"] .audio-status-hero {
  display: grid !important;
  align-content: center !important;
  gap: 4px !important;
}

html body[data-active-panel="audio"] .audio-profile-card {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-profile-card img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  object-fit: cover !important;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.16) !important;
}

html body[data-active-panel="audio"] .audio-profile-card div,
html body[data-active-panel="audio"] .audio-session-card {
  display: grid !important;
  align-content: center !important;
  gap: 5px !important;
}

html body[data-active-panel="audio"] .audio-profile-card strong {
  font-size: 16px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-profile-card span,
html body[data-active-panel="audio"] .audio-profile-card small,
html body[data-active-panel="audio"] .audio-session-card p,
html body[data-active-panel="audio"] .audio-status-hero p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

html body[data-active-panel="audio"] .audio-status-hero > span {
  color: #6d4dff !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-status-hero > strong {
  min-width: 0 !important;
  color: #0f172a !important;
  font-size: 18px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-session-fields,
html body[data-active-panel="audio"] .audio-preview {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

html body[data-active-panel="audio"] .audio-session-card p {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-session-card p i,
html body[data-active-panel="audio"] .audio-status-hero p i {
  width: 1px !important;
  height: 14px !important;
  background: rgba(148, 163, 184, 0.35) !important;
}

html body[data-active-panel="audio"] .audio-top-metric,
html body[data-active-panel="audio"] .audio-training-card {
  display: grid !important;
  align-content: center !important;
  gap: 5px !important;
}

html body[data-active-panel="audio"] .audio-top-metric span,
html body[data-active-panel="audio"] .audio-training-card span {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

html body[data-active-panel="audio"] .audio-top-metric strong {
  display: flex !important;
  align-items: baseline !important;
  gap: 3px !important;
  color: #0f172a !important;
  font-size: 28px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-top-metric.is-score strong {
  color: #6d4dff !important;
}

html body[data-active-panel="audio"] .audio-top-metric strong em,
html body[data-active-panel="audio"] .audio-top-metric small {
  color: #64748b !important;
  font-size: 13px !important;
  font-style: normal !important;
  font-weight: 850 !important;
}

html body[data-active-panel="audio"] .audio-training-card .ghost-btn {
  width: 100% !important;
  min-height: 30px !important;
  padding: 0 10px !important;
  color: #6d4dff !important;
  background: rgba(124, 77, 255, 0.08) !important;
  border-color: rgba(124, 77, 255, 0.2) !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="audio"] .audio-report-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 8px !important;
  border-right: 0 !important;
}

html body[data-active-panel="audio"] .audio-report-actions .ghost-btn {
  min-height: 34px !important;
  padding: 0 10px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-cabin-workspace {
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) 340px !important;
  gap: 10px !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-timeline-panel,
html body[data-active-panel="audio"] .audio-coach-panel {
  min-height: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-timeline-panel {
  padding: 14px !important;
  display: grid !important;
  grid-template-rows: 28px 38px minmax(0, 1fr) !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-panel-head,
html body[data-active-panel="audio"] .audio-coach-head,
html body[data-active-panel="audio"] .audio-card-title,
html body[data-active-panel="audio"] .audio-question-kicker {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  min-width: 0 !important;
}

html body[data-active-panel="audio"] .audio-panel-head strong,
html body[data-active-panel="audio"] .audio-card-title span,
html body[data-active-panel="audio"] .audio-coach-head strong {
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-search-field {
  min-height: 36px !important;
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.24) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
}

html body[data-active-panel="audio"] .audio-search-field input {
  min-width: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

html body[data-active-panel="audio"] .audio-dialogue-timeline {
  position: relative !important;
  min-height: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 2px !important;
  padding: 2px 0 0 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-dialogue-timeline::before {
  content: "" !important;
  position: absolute !important;
  left: 14px !important;
  top: 12px !important;
  bottom: 12px !important;
  width: 2px !important;
  background: linear-gradient(180deg, #6d4dff, #fb923c, #22c55e, #5b8cff, #a855f7) !important;
  border-radius: 999px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item {
  position: relative !important;
  z-index: 1 !important;
  min-width: 0 !important;
  min-height: 62px !important;
  padding: 9px 10px 9px 34px !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) auto !important;
  gap: 4px 8px !important;
  text-align: left !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: transparent !important;
  cursor: pointer !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item::before {
  content: "" !important;
  position: absolute !important;
  left: 5px !important;
  top: 20px !important;
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  border: 3px solid #ffffff !important;
  background: #6d4dff !important;
  box-shadow: 0 0 0 1px rgba(109, 77, 255, 0.24) !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item.current {
  border-radius: 10px !important;
  background: linear-gradient(90deg, rgba(124, 77, 255, 0.12), rgba(124, 77, 255, 0.03)) !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item.warn::before { background: #fb923c !important; }
html body[data-active-panel="audio"] .audio-cabin-timeline-item.good::before { background: #22c55e !important; }
html body[data-active-panel="audio"] .audio-cabin-timeline-item.info::before { background: #5b8cff !important; }

html body[data-active-panel="audio"] .audio-cabin-timeline-item span {
  color: #5b54ff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item strong {
  min-width: 0 !important;
  color: #0f172a !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 950 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item em,
html body[data-active-panel="audio"] .audio-cabin-timeline-item small {
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-style: normal !important;
  font-weight: 800 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item em {
  grid-column: 2 / 3 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item small {
  grid-column: 3 / 4 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
  padding: 4px 7px !important;
  border-radius: 999px !important;
  color: #64748b !important;
  background: rgba(148, 163, 184, 0.1) !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-history-dock {
  min-height: 0 !important;
  display: none !important;
  grid-template-rows: minmax(0, 1fr) !important;
  overflow: hidden !important;
  border-top: 1px solid rgba(148, 163, 184, 0.16) !important;
  padding-top: 8px !important;
}

html body[data-active-panel="audio"] .audio-history-dock .audio-history-grid {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-record-list {
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden !important;
  font-size: 11px !important;
}

html body[data-active-panel="audio"] .audio-review-main {
  min-height: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-main-scroll {
  height: 100% !important;
  min-height: 0 !important;
  padding: 16px 18px !important;
  display: grid !important;
  align-content: start !important;
  gap: 12px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
}

html body[data-active-panel="audio"] .audio-current-question {
  min-height: 108px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px 14px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
}

html body[data-active-panel="audio"] .audio-question-kicker,
html body[data-active-panel="audio"] .audio-current-question h1,
html body[data-active-panel="audio"] .audio-question-tags {
  grid-column: 1 / 2 !important;
}

html body[data-active-panel="audio"] .audio-question-kicker span {
  color: #5b54ff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="audio"] .audio-current-question h1 {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

html body[data-active-panel="audio"] .audio-question-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html body[data-active-panel="audio"] .audio-question-meta {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 4 !important;
  display: grid !important;
  align-content: center !important;
  gap: 8px !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-main-card,
html body[data-active-panel="audio"] .audio-dialogue-summary,
html body[data-active-panel="audio"] .audio-analysis-card,
html body[data-active-panel="audio"] .audio-transcript-editor {
  min-width: 0 !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body[data-active-panel="audio"] .audio-dialogue-summary {
  padding: 12px !important;
  display: grid !important;
  gap: 14px !important;
}

html body[data-active-panel="audio"] .audio-thread-block {
  display: grid !important;
  grid-template-columns: 44px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
}

html body[data-active-panel="audio"] .audio-thread-block > img {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1px solid rgba(124, 77, 255, 0.18) !important;
}

html body[data-active-panel="audio"] .audio-thread-block > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 8px !important;
}

html body[data-active-panel="audio"] .audio-thread-block strong {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-speech-card {
  position: relative !important;
  display: grid !important;
  gap: 10px !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(124, 77, 255, 0.14) !important;
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.06), rgba(91, 140, 255, 0.03)) !important;
}

html body[data-active-panel="audio"] .audio-speech-card p {
  margin: 0 !important;
  color: #1f2a44 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  font-weight: 800 !important;
}

html body[data-active-panel="audio"] .audio-speech-card mark {
  color: #4f46e5 !important;
  background: rgba(124, 77, 255, 0.1) !important;
  border-radius: 4px !important;
  padding: 0 3px !important;
}

html body[data-active-panel="audio"] .audio-player-row {
  min-height: 38px !important;
  display: grid !important;
  grid-template-columns: 30px minmax(0, 1fr) auto auto !important;
  align-items: center !important;
  gap: 10px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
}

html body[data-active-panel="audio"] .audio-player-row button {
  width: 28px !important;
  height: 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(124, 77, 255, 0.12) !important;
  color: #6d4dff !important;
  font-size: 12px !important;
  cursor: pointer !important;
}

html body[data-active-panel="audio"] .audio-player-row span,
html body[data-active-panel="audio"] .audio-player-row em {
  color: #475569 !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-cabin-waveform {
  min-width: 0 !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-cabin-waveform i {
  display: block !important;
  width: 3px !important;
  min-width: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #7c4dff, #5b8cff) !important;
  opacity: 0.9 !important;
}

html body[data-active-panel="audio"] .audio-cabin-waveform.green i {
  background: linear-gradient(180deg, #22c55e, #5b8cff) !important;
}

html body[data-active-panel="audio"] .audio-dialogue-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

html body[data-active-panel="audio"] .audio-dialogue-stat {
  padding: 8px 10px !important;
  border-radius: 10px !important;
  background: #f8fbff !important;
}

html body[data-active-panel="audio"] .audio-transcript-editor {
  padding: 12px !important;
  display: grid !important;
  gap: 8px !important;
}

html body[data-active-panel="audio"] .audio-transcript-editor span {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] #audioTranscript {
  min-height: 88px !important;
  max-height: 120px !important;
  padding: 12px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  background: #f8fbff !important;
  color: #1f2a44 !important;
  resize: vertical !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 750 !important;
}

html body[data-active-panel="audio"] .audio-analysis-card {
  padding: 12px !important;
  display: grid !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-review-evidence,
html body[data-active-panel="audio"] .audio-ai-comment {
  display: grid !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-ai-comment {
  padding: 0 !important;
}

html body[data-active-panel="audio"] .audio-comment-head {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

html body[data-active-panel="audio"] .audio-comment-head img {
  width: 28px !important;
  height: 28px !important;
  border-radius: 10px !important;
  background: rgba(124, 77, 255, 0.1) !important;
}

html body[data-active-panel="audio"] .audio-ai-comment p {
  margin: 0 !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  background: rgba(124, 77, 255, 0.07) !important;
  color: #1f2a44 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  font-weight: 800 !important;
}

html body[data-active-panel="audio"] .audio-comment-columns {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-comment-columns section {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 10px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  background: #ffffff !important;
}

html body[data-active-panel="audio"] .audio-comment-columns strong {
  flex: 0 0 100% !important;
  color: #0f172a !important;
  font-size: 13px !important;
}

html body[data-active-panel="audio"] .audio-comment-columns span {
  padding: 5px 8px !important;
  border-radius: 999px !important;
  color: #16a34a !important;
  background: rgba(34, 197, 94, 0.1) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

html body[data-active-panel="audio"] .audio-comment-columns section:nth-child(2) span {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

html body[data-active-panel="audio"] .audio-coach-panel {
  padding: 14px !important;
  display: grid !important;
  grid-template-rows: 38px minmax(242px, 1fr) 154px 126px !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-coach-head {
  border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
  padding-bottom: 8px !important;
}

html body[data-active-panel="audio"] .audio-coach-head span {
  display: block !important;
  color: #6d4dff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="audio"] .audio-coach-head .small-btn {
  min-height: 28px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  color: #6d4dff !important;
  background: rgba(124, 77, 255, 0.08) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="audio"] .audio-report-digest {
  min-height: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) auto auto !important;
  gap: 10px !important;
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-coach-score {
  min-height: 112px !important;
  padding: 12px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 6px 10px !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16) !important;
}

html body[data-active-panel="audio"] .audio-coach-score span {
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-coach-score strong {
  grid-column: 1 / 2 !important;
  color: #6d4dff !important;
  font-size: 42px !important;
  line-height: 0.95 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-coach-score strong em {
  color: #475569 !important;
  font-size: 14px !important;
  font-style: normal !important;
}

html body[data-active-panel="audio"] .audio-coach-score > b {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 3 !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.1) !important;
  font-size: 12px !important;
}

html body[data-active-panel="audio"] .audio-coach-score p {
  grid-column: 1 / 3 !important;
  margin: 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

html body[data-active-panel="audio"] .audio-coach-missing {
  color: #ef4444 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-dimension-list {
  min-height: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 9px !important;
  padding: 4px 4px 0 !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-dimension-list > strong,
html body[data-active-panel="audio"] .audio-coach-card > strong {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-dimension-row {
  display: grid !important;
  grid-template-columns: 64px minmax(0, 1fr) 28px !important;
  align-items: center !important;
  gap: 8px !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

html body[data-active-panel="audio"] .audio-dimension-row i {
  height: 8px !important;
  border-radius: 999px !important;
  background: rgba(148, 163, 184, 0.16) !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-dimension-row b {
  display: block !important;
  height: 100% !important;
  border-radius: inherit !important;
  background: linear-gradient(90deg, #7c4dff, #5b8cff) !important;
}

html body[data-active-panel="audio"] .audio-dimension-row:nth-child(5) b {
  background: linear-gradient(90deg, #fb923c, #f59e0b) !important;
}

html body[data-active-panel="audio"] .audio-coach-card {
  min-height: 0 !important;
  padding: 12px !important;
  display: grid !important;
  gap: 8px !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-coach-card ul {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 7px !important;
  list-style: none !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-coach-card li {
  position: relative !important;
  min-width: 0 !important;
  padding-left: 22px !important;
  color: #334155 !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-coach-card li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 16px !important;
  height: 16px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  color: #fff !important;
  font-size: 10px !important;
}

html body[data-active-panel="audio"] .audio-coach-card li.is-warn::before { content: "!" !important; background: #f59e0b !important; }
html body[data-active-panel="audio"] .audio-coach-card li.is-danger::before { content: "×" !important; background: #ef4444 !important; }
html body[data-active-panel="audio"] .audio-coach-card li.is-hot::before { content: "↑" !important; background: #fb7185 !important; }

html body[data-active-panel="audio"] .audio-recommend-card p {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-recommend-card span {
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}

html body[data-active-panel="audio"] .audio-recommend-card .primary-btn {
  min-height: 32px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
}

html body[data-active-panel="audio"] .audio-action-bar {
  min-height: 0 !important;
  padding: 12px 14px !important;
  display: grid !important;
  grid-template-columns: 86px minmax(320px, 1fr) minmax(430px, 0.92fr) !important;
  align-items: center !important;
  gap: 14px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-summary-score {
  width: 74px !important;
  height: 74px !important;
  border-radius: 999px !important;
  display: grid !important;
  place-items: center !important;
  align-content: center !important;
  gap: 0 !important;
  background:
    radial-gradient(circle at center, #ffffff 58%, transparent 60%),
    conic-gradient(#6d4dff 0 82%, rgba(124, 77, 255, 0.12) 82% 100%) !important;
}

html body[data-active-panel="audio"] .audio-summary-score strong {
  color: #0f172a !important;
  font-size: 24px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-summary-score span {
  color: #475569 !important;
  font-size: 11px !important;
  font-weight: 850 !important;
}

html body[data-active-panel="audio"] .audio-summary-copy,
html body[data-active-panel="audio"] .audio-next-steps,
html body[data-active-panel="audio"] .audio-action-buttons {
  min-width: 0 !important;
  display: grid !important;
  gap: 6px !important;
}

html body[data-active-panel="audio"] .audio-summary-copy strong,
html body[data-active-panel="audio"] .audio-next-steps > strong {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-next-steps {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-summary-copy p {
  margin: 0 !important;
  color: #334155 !important;
  font-size: 12px !important;
  line-height: 1.45 !important;
  font-weight: 800 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-summary-copy .link-btn {
  justify-self: start !important;
  padding: 0 !important;
  color: #6d4dff !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-action-bar .audio-review-flow {
  min-height: 48px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin: 0 !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-action-bar .audio-flow-step {
  min-height: 48px !important;
  padding: 7px 8px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
}

html body[data-active-panel="audio"] .audio-action-bar .audio-flow-step::after {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-action-bar .audio-flow-step strong {
  color: #0f172a !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
}

html body[data-active-panel="audio"] .audio-action-bar .audio-flow-step span {
  color: #64748b !important;
  font-size: 10px !important;
}

html body[data-active-panel="audio"] .audio-action-bar .audio-progress-shell {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-action-buttons {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-action-buttons .primary-btn {
  grid-column: auto !important;
  min-height: 44px !important;
  border-radius: 10px !important;
}

html body[data-active-panel="audio"] .audio-action-buttons .ghost-btn {
  min-height: 44px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="audio"] .audio-review-cabin > #audioReviewMetrics,
html body[data-active-panel="audio"] .audio-review-cabin > #audioAutoStatus,
html body[data-active-panel="audio"] .audio-review-cabin > #audioPipelineStatus,
html body[data-active-panel="audio"] .audio-review-cabin > #audioChecklistBox {
  position: absolute !important;
  left: -9999px !important;
  bottom: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Audio review cockpit v221: value-first status bar and Feishu-style fixed timeline. */
html body[data-active-panel="audio"] .audio-review-cabin {
  grid-template-rows: 42px 118px minmax(0, 1fr) 112px !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-cabin-title h2 {
  font-size: 22px !important;
}

html body[data-active-panel="audio"] .audio-cabin-statusbar {
  min-height: 118px !important;
  padding: 14px !important;
  grid-template-columns: minmax(300px, 1.25fr) minmax(132px, 0.48fr) minmax(132px, 0.48fr) minmax(132px, 0.52fr) minmax(230px, 0.86fr) minmax(190px, 0.64fr) !important;
  gap: 14px !important;
  border-radius: 20px !important;
  background:
    radial-gradient(circle at 18% 12%, rgba(124, 77, 255, 0.1), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)) !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07) !important;
}

html body[data-active-panel="audio"] .audio-status-hero,
html body[data-active-panel="audio"] .audio-top-metric,
html body[data-active-panel="audio"] .audio-training-card,
html body[data-active-panel="audio"] .audio-report-actions {
  border-radius: 16px !important;
  padding: 16px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow:
    0 10px 26px rgba(91, 140, 255, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.68) !important;
}

html body[data-active-panel="audio"] .audio-status-hero {
  gap: 8px !important;
}

html body[data-active-panel="audio"] .audio-status-hero > span {
  width: fit-content !important;
  min-height: 26px !important;
  padding: 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  border-radius: 999px !important;
  background: rgba(124, 77, 255, 0.1) !important;
  color: #6d4dff !important;
}

html body[data-active-panel="audio"] .audio-status-hero > strong {
  font-size: 24px !important;
  line-height: 1.14 !important;
}

html body[data-active-panel="audio"] .audio-status-hero p {
  font-size: 13px !important;
}

html body[data-active-panel="audio"] .audio-top-metric span,
html body[data-active-panel="audio"] .audio-training-card span {
  font-size: 13px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="audio"] .audio-top-metric strong {
  font-size: 34px !important;
  color: #0f172a !important;
}

html body[data-active-panel="audio"] .audio-top-metric.is-score strong {
  font-size: 38px !important;
  color: #6d4dff !important;
}

html body[data-active-panel="audio"] .audio-training-card {
  align-content: center !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-training-card .ghost-btn {
  min-height: 40px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
}

html body[data-active-panel="audio"] .audio-report-actions {
  grid-template-columns: 1fr !important;
  align-content: center !important;
}

html body[data-active-panel="audio"] .audio-report-actions .ghost-btn {
  min-height: 38px !important;
}

html body[data-active-panel="audio"] .audio-cabin-workspace {
  grid-template-columns: 286px minmax(0, 1fr) 360px !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-timeline-panel {
  grid-template-rows: 32px 40px minmax(0, 1fr) !important;
  padding: 16px !important;
}

html body[data-active-panel="audio"] .audio-panel-head strong {
  font-size: 16px !important;
}

html body[data-active-panel="audio"] .audio-dialogue-timeline {
  gap: 4px !important;
  padding-left: 10px !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item {
  min-height: 74px !important;
  padding: 12px 12px 12px 38px !important;
  grid-template-columns: 58px minmax(0, 1fr) auto !important;
  border-radius: 12px !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item::before {
  left: 6px !important;
  top: 25px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item:hover,
html body[data-active-panel="audio"] .audio-cabin-timeline-item.current {
  background:
    linear-gradient(90deg, rgba(124, 77, 255, 0.14), rgba(124, 77, 255, 0.04)) !important;
  box-shadow: inset 0 0 0 1px rgba(124, 77, 255, 0.12) !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item span {
  font-size: 13px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item strong {
  font-size: 14px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item em,
html body[data-active-panel="audio"] .audio-cabin-timeline-item small {
  font-size: 12px !important;
}

@media (max-width: 1480px) {
  html body[data-active-panel="audio"] .audio-cabin-statusbar {
    grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(116px, 0.42fr)) minmax(210px, 0.72fr) !important;
  }

  html body[data-active-panel="audio"] .audio-status-actions {
    display: none !important;
  }

  html body[data-active-panel="audio"] .audio-cabin-workspace {
    grid-template-columns: 268px minmax(0, 1fr) 330px !important;
  }
}

@media (max-width: 1320px) {
  html body[data-active-panel="audio"] .audio-cabin-statusbar {
    grid-template-columns: minmax(220px, 1.1fr) 100px 100px 112px minmax(188px, 1fr) 168px !important;
  }

  html body[data-active-panel="audio"] .audio-cabin-workspace {
    grid-template-columns: 230px minmax(0, 1fr) 310px !important;
  }

  html body[data-active-panel="audio"] .audio-action-bar {
    grid-template-columns: 78px minmax(240px, 1fr) minmax(380px, 0.95fr) !important;
  }
}

@media (max-width: 1100px) {
  html body[data-active-panel="audio"] {
    overflow: auto !important;
  }

  html body[data-active-panel="audio"] .main,
  html body[data-active-panel="audio"] .panel[data-panel="audio"],
  html body[data-active-panel="audio"] .audio-review-cabin {
    height: auto !important;
    min-height: 100dvh !important;
    overflow: visible !important;
  }

  html body[data-active-panel="audio"] .audio-review-cabin {
    grid-template-rows: auto auto auto auto !important;
  }

  html body[data-active-panel="audio"] .audio-cabin-statusbar,
  html body[data-active-panel="audio"] .audio-cabin-workspace,
  html body[data-active-panel="audio"] .audio-action-bar {
    grid-template-columns: 1fr !important;
  }

  html body[data-active-panel="audio"] .audio-main-scroll,
  html body[data-active-panel="audio"] .audio-dialogue-timeline {
    overflow: visible !important;
  }
}

/* Account circular avatar absolute final lock v206: after all legacy avatar rules. */
html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar,
html body[data-active-panel="interview"] .interview-training-avatar,
html body[data-active-panel="interview"] .interview-training-avatar-img {
  border-radius: 999px !important;
}

html body .sidebar-account-avatar {
  width: 42px !important;
  height: 42px !important;
  border: 2px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 10px 22px rgba(91, 140, 255, 0.2) !important;
}

html body .topbar-user-avatar,
html body[data-active-panel="interview"] .interview-training-avatar {
  width: 46px !important;
  height: 46px !important;
  border: 2px solid rgba(91, 140, 255, 0.2) !important;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.16) !important;
}

html body .account-modal-preview {
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 16px !important;
}

html body .account-preview-avatar {
  width: 76px !important;
  height: 76px !important;
  border: 3px solid rgba(255, 255, 255, 0.82) !important;
  box-shadow:
    0 14px 32px rgba(91, 140, 255, 0.18),
    0 0 0 1px rgba(124, 77, 255, 0.14) !important;
}

html body .account-avatar-upload-field {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
}

html body .account-avatar-upload-field > span {
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

html body .account-avatar-upload-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

html body .account-avatar-upload-actions .ghost-btn {
  min-height: 42px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}

html body .account-avatar-upload-actions .ghost-btn[hidden] {
  display: none !important;
}

/* Account circular avatar absolute final lock v206: after all legacy avatar rules. */
html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar,
html body[data-active-panel="interview"] .interview-training-avatar,
html body[data-active-panel="interview"] .interview-training-avatar-img {
  border-radius: 999px !important;
}

html body .sidebar-account-avatar {
  width: 42px !important;
  height: 42px !important;
  border: 2px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 10px 22px rgba(91, 140, 255, 0.2) !important;
}

html body .topbar-user-avatar,
html body[data-active-panel="interview"] .interview-training-avatar {
  width: 46px !important;
  height: 46px !important;
  border: 2px solid rgba(91, 140, 255, 0.2) !important;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.16) !important;
}

html body .account-modal-preview {
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 16px !important;
}

html body .account-preview-avatar {
  width: 76px !important;
  height: 76px !important;
  border: 3px solid rgba(255, 255, 255, 0.82) !important;
  box-shadow:
    0 14px 32px rgba(91, 140, 255, 0.18),
    0 0 0 1px rgba(124, 77, 255, 0.14) !important;
}

html body .account-avatar-upload-field {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
}

html body .account-avatar-upload-field > span {
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

html body .account-avatar-upload-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

html body .account-avatar-upload-actions .ghost-btn {
  min-height: 42px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}

html body .account-avatar-upload-actions .ghost-btn[hidden] {
  display: none !important;
}

/* Account avatar upload and circular avatar sizing v206. */
html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar,
html body[data-active-panel="interview"] .interview-training-avatar,
html body[data-active-panel="interview"] .interview-training-avatar-img {
  border-radius: 999px !important;
}

html body .sidebar-account-avatar {
  width: 42px !important;
  height: 42px !important;
  border: 2px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 10px 22px rgba(91, 140, 255, 0.2) !important;
}

html body .topbar-user-avatar,
html body[data-active-panel="interview"] .interview-training-avatar {
  width: 46px !important;
  height: 46px !important;
  border: 2px solid rgba(91, 140, 255, 0.2) !important;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.16) !important;
}

html body .account-modal-preview {
  grid-template-columns: 76px minmax(0, 1fr) !important;
  gap: 16px !important;
}

html body .account-preview-avatar {
  width: 76px !important;
  height: 76px !important;
  border: 3px solid rgba(255, 255, 255, 0.82) !important;
  box-shadow:
    0 14px 32px rgba(91, 140, 255, 0.18),
    0 0 0 1px rgba(124, 77, 255, 0.14) !important;
}

html body .account-avatar-upload-field {
  display: grid !important;
  gap: 8px !important;
  min-width: 0 !important;
}

html body .account-avatar-upload-field > span {
  color: #0f172a !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

html body .account-avatar-upload-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
}

html body .account-avatar-upload-actions .ghost-btn {
  min-height: 42px !important;
  padding: 0 12px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}

html body .account-avatar-upload-actions .ghost-btn[hidden] {
  display: none !important;
}

/* Interview answer delivery lock v202: match the final cockpit reference. */
html body[data-active-panel="interview"] .interview-answer-zone {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 18px 20px !important;
  border-radius: 20px !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body[data-active-panel="interview"] .interview-answer-zone-head {
  min-height: 28px !important;
  align-items: center !important;
  border: 0 !important;
  padding: 0 !important;
}

html body[data-active-panel="interview"] .interview-answer-zone-head span {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 6px !important;
  color: #0f172a !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
}

html body[data-active-panel="interview"] .interview-answer-zone-head small {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="interview"] .interview-answer-recording-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 28px !important;
  padding: 0 !important;
  color: #64748b !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-style: normal !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"] .interview-answer-recording-pill i {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.12) !important;
}

html body[data-active-panel="interview"] .interview-answer-recording-pill strong {
  color: #16a34a !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-answer-recording-pill b {
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="interview"] .interview-answer-live-card {
  display: grid !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
}

html body[data-active-panel="interview"] .interview-waveform {
  position: relative !important;
  min-height: 62px !important;
  height: 62px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 3px !important;
  padding: 0 18px !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

html body[data-active-panel="interview"] .interview-waveform::before {
  content: "" !important;
  position: absolute !important;
  left: 18px !important;
  right: 18px !important;
  top: 50% !important;
  height: 1px !important;
  background: rgba(34, 197, 94, 0.18) !important;
  transform: translateY(-50%) !important;
}

html body[data-active-panel="interview"] .interview-waveform i {
  position: relative !important;
  z-index: 1 !important;
  width: 2px !important;
  min-width: 2px !important;
  height: 16px !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  opacity: 0.82 !important;
  transform: none !important;
  animation: none !important;
}

html body[data-active-panel="interview"] .interview-waveform i:nth-child(3n + 1) { height: 10px !important; opacity: 0.7 !important; }
html body[data-active-panel="interview"] .interview-waveform i:nth-child(3n + 2) { height: 22px !important; opacity: 0.9 !important; }
html body[data-active-panel="interview"] .interview-waveform i:nth-child(5n) { height: 30px !important; opacity: 1 !important; }
html body[data-active-panel="interview"] .interview-waveform i:nth-child(7n) { height: 8px !important; opacity: 0.58 !important; }

html body[data-active-panel="interview"] .interview-voice-mode:has(.voice-badge.listening) .interview-waveform i,
html body[data-active-panel="interview"] .interview-voice-mode:has(.voice-badge.processing) .interview-waveform i,
html body[data-active-panel="interview"] .interview-answer-zone:has(.voice-badge.listening) .interview-waveform i,
html body[data-active-panel="interview"] .interview-answer-zone:has(.voice-badge.processing) .interview-waveform i {
  animation: interviewGreenWavePulse 1.08s ease-in-out infinite !important;
}

html body[data-active-panel="interview"] .interview-waveform i:nth-child(2n) { animation-delay: 0.04s !important; }
html body[data-active-panel="interview"] .interview-waveform i:nth-child(3n) { animation-delay: 0.1s !important; }
html body[data-active-panel="interview"] .interview-waveform i:nth-child(5n) { animation-delay: 0.16s !important; }

html body[data-active-panel="interview"] .interview-wave-label,
html body[data-active-panel="interview"] .interview-recording-status-card,
html body[data-active-panel="interview"] .interview-answer-live-preview,
html body[data-active-panel="interview"] .interview-answer-modes,
html body[data-active-panel="interview"] .interview-live-transcript-card {
  display: none !important;
}

html body[data-active-panel="interview"] .interview-answer-transcript-body {
  display: block !important;
  padding: 14px 18px 16px !important;
  color: #0f172a !important;
  background: #ffffff !important;
}

html body[data-active-panel="interview"] #interviewAnswerHighlightPreview {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #0f172a !important;
  background: transparent !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
  font-weight: 820 !important;
  box-shadow: none !important;
}

html body[data-active-panel="interview"] #interviewAnswerHighlightPreview mark {
  padding: 0 3px !important;
  color: #5b21ff !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-answer-action-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 34px !important;
}

html body[data-active-panel="interview"] .interview-answer-mode-toggle {
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 0 13px !important;
  border: 1px solid rgba(124, 77, 255, 0.18) !important;
  border-radius: 10px !important;
  color: #5b21ff !important;
  background: #ffffff !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  cursor: pointer !important;
}

html body[data-active-panel="interview"] .interview-answer-mode-toggle.is-active {
  color: #5b21ff !important;
  background: rgba(124, 77, 255, 0.07) !important;
}

html body[data-active-panel="interview"] .interview-answer-mode-toggle .voice-badge {
  min-height: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  color: #16a34a !important;
  background: rgba(34, 197, 94, 0.1) !important;
  border: 0 !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] .interview-text-mode {
  display: none !important;
  min-height: 0 !important;
  padding: 14px !important;
  border-radius: 16px !important;
  background: #f8fbff !important;
}

html body[data-active-panel="interview"] .interview-answer-zone.text-mode-open .interview-text-mode {
  display: grid !important;
}

html body[data-active-panel="interview"] #candidateAnswer {
  min-height: 112px !important;
  max-height: 150px !important;
  padding: 13px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

html body[data-active-panel="interview"] .interview-answer-zone .audio-preview {
  display: none !important;
}

@keyframes interviewGreenWavePulse {
  0%, 100% { transform: scaleY(0.72) !important; opacity: 0.64 !important; }
  50% { transform: scaleY(1.18) !important; opacity: 1 !important; }
}

/* Default account avatar final lock v202: use product SVG avatars, not initials. */
html body .topbar-user-avatar::after,
html body .sidebar-account-avatar::after,
html body .account-preview-avatar::after,
html body[data-active-panel="interview"] .interview-training-avatar::after {
  content: "" !important;
  display: none !important;
}

html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar,
html body[data-active-panel="interview"] .interview-training-avatar {
  color: transparent !important;
  font-size: 0 !important;
  text-indent: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* Account avatar final lock v198: initials render above the gradient asset. */
html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar {
  position: relative !important;
  isolation: isolate !important;
  display: inline-grid !important;
  place-items: center !important;
  overflow: hidden !important;
  color: transparent !important;
  text-indent: 0 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  font-size: 0 !important;
  background-color: #5b8cff !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body .topbar-user-avatar::after,
html body .sidebar-account-avatar::after,
html body .account-preview-avatar::after,
html body[data-active-panel="interview"] .interview-training-avatar::after {
  content: attr(data-avatar-initial) !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: grid !important;
  place-items: center !important;
  color: #ffffff !important;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42) !important;
  pointer-events: none !important;
}

html body .topbar-user-avatar::after {
  font-size: 13px !important;
}

html body .sidebar-account-avatar::after {
  font-size: 16px !important;
}

html body .account-preview-avatar::after {
  font-size: 22px !important;
}

html body[data-active-panel="interview"] .interview-training-avatar {
  position: relative !important;
  isolation: isolate !important;
  width: 44px !important;
  height: 44px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  border: 1px solid rgba(91, 140, 255, 0.18) !important;
  background: #5b8cff !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.16) !important;
}

html body[data-active-panel="interview"] .interview-training-avatar::after {
  font-size: 19px !important;
}

html body[data-active-panel="interview"] .interview-training-avatar-img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Product default avatars v197: professional generated token, not cartoon portraits. */
html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar {
  position: relative !important;
  isolation: isolate !important;
  display: inline-grid !important;
  place-items: center !important;
  overflow: hidden !important;
  color: #ffffff !important;
  text-indent: 0 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-weight: 950 !important;
  background-color: #5b8cff !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.2) !important;
}

html body .topbar-user-avatar::before,
html body .sidebar-account-avatar::before,
html body .account-preview-avatar::before,
html body[data-active-panel="interview"] .interview-training-avatar::before {
  content: "" !important;
  position: absolute !important;
  inset: 1px !important;
  z-index: -1 !important;
  border-radius: inherit !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  pointer-events: none !important;
}

html body .topbar-user-avatar {
  font-size: 13px !important;
}

html body .sidebar-account-avatar {
  font-size: 15px !important;
}

html body .account-preview-avatar {
  font-size: 21px !important;
}

html body[data-active-panel="interview"] .interview-training-avatar {
  position: relative !important;
  isolation: isolate !important;
  width: 44px !important;
  height: 44px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  border: 1px solid rgba(91, 140, 255, 0.18) !important;
  background: #5b8cff !important;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.16) !important;
}

html body[data-active-panel="interview"] .interview-training-avatar::after {
  content: attr(data-avatar-initial) !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  display: grid !important;
  place-items: center !important;
  color: #ffffff !important;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-size: 18px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.2) !important;
}

html body[data-active-panel="interview"] .interview-training-avatar-img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Interview AI coach rail v196: reserve real space for follow-ups and prevent inner-card overlap. */
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card.section-card {
  min-height: 0 !important;
  height: 100% !important;
  padding: 12px !important;
  display: grid !important;
  grid-template-rows: 42px minmax(0, 1fr) !important;
  gap: 8px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card > .section-head {
  min-height: 0 !important;
  height: 42px !important;
  padding: 0 2px 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-ai-coach-panel,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card .interview-ai-coach-panel {
  min-height: 0 !important;
  height: 100% !important;
  display: grid !important;
  grid-template-rows: 112px 212px minmax(174px, 1fr) !important;
  gap: 8px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  min-height: 0 !important;
  height: 100% !important;
  padding: 10px !important;
  display: grid !important;
  gap: 6px !important;
  overflow: hidden !important;
  contain: layout paint !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card {
  grid-template-rows: 22px 42px 24px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-head,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-panel-title {
  min-height: 0 !important;
  height: 22px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-head span,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-panel-title strong {
  font-size: 13px !important;
  line-height: 1 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-head em,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-panel-title span {
  min-height: 22px !important;
  height: 22px !important;
  padding: 0 8px !important;
  font-size: 11px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main {
  min-height: 0 !important;
  height: 42px !important;
  display: grid !important;
  grid-template-columns: minmax(72px, 0.68fr) minmax(78px, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main small {
  font-size: 11px !important;
  line-height: 1 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main strong {
  font-size: 34px !important;
  line-height: 0.9 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-track {
  width: 100% !important;
  height: 8px !important;
  min-width: 0 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card > p {
  min-height: 0 !important;
  max-height: 24px !important;
  margin: 0 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.18 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card {
  grid-template-rows: 24px minmax(0, 1fr) !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-list {
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: repeat(5, minmax(28px, 1fr)) !important;
  gap: 6px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item {
  min-height: 28px !important;
  height: auto !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item b {
  min-width: 22px !important;
  width: 22px !important;
  min-height: 22px !important;
  height: 22px !important;
  font-size: 12px !important;
  flex: 0 0 22px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  grid-template-rows: 24px minmax(0, 1fr) 34px 16px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list {
  min-height: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 6px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  padding-right: 2px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list {
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list button:nth-child(n + 4),
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list button.is-collapsed {
  display: none !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card.is-expanded .coach-followup-list button.is-collapsed {
  display: block !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list button {
  min-height: 34px !important;
  height: auto !important;
  padding: 7px 10px !important;
  border-radius: 13px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  cursor: pointer !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list button::before {
  min-height: 20px !important;
  margin-right: 6px !important;
  padding: 0 6px !important;
  font-size: 10px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-toggle {
  position: relative !important;
  z-index: 3 !important;
  min-height: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  cursor: pointer !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card > p {
  min-height: 0 !important;
  height: 16px !important;
  margin: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  line-height: 16px !important;
}

/* Interview AI coach rail v195: compact fixed rows, no card collision, visible follow-up footer. */
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card.section-card {
  padding: 14px !important;
  display: grid !important;
  grid-template-rows: 40px minmax(0, 1fr) !important;
  gap: 8px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card > .section-head {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 0 8px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card .interview-ai-coach-panel,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-ai-coach-panel {
  min-height: 0 !important;
  height: 100% !important;
  display: grid !important;
  grid-template-rows: 112px 224px minmax(178px, 1fr) !important;
  gap: 10px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  min-height: 0 !important;
  height: 100% !important;
  box-sizing: border-box !important;
  padding: 10px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card {
  display: grid !important;
  grid-template-rows: 22px 52px 18px !important;
  gap: 4px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-head,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-panel-title {
  min-height: 0 !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main {
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(72px, 0.58fr) minmax(92px, 1fr) !important;
  align-items: center !important;
  gap: 10px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main small {
  font-size: 12px !important;
  line-height: 1 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main strong {
  font-size: 36px !important;
  line-height: 0.92 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card > p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card {
  display: grid !important;
  grid-template-rows: 30px minmax(0, 1fr) !important;
  gap: 8px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-list {
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: repeat(5, minmax(28px, 1fr)) !important;
  gap: 7px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 9px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item b {
  width: 25px !important;
  min-width: 25px !important;
  height: 25px !important;
  min-height: 25px !important;
  font-size: 17px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  display: grid !important;
  grid-template-rows: 30px minmax(0, 1fr) 34px 18px !important;
  gap: 8px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list {
  min-height: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 8px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  padding: 0 2px 0 0 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list {
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list button:nth-child(n + 4),
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list button.is-collapsed {
  display: none !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card.is-expanded .coach-followup-list button.is-collapsed {
  display: block !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list button {
  min-height: 38px !important;
  height: 38px !important;
  padding: 0 10px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-toggle {
  min-height: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 3 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card > p {
  margin: 0 !important;
  min-height: 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: block !important;
}

/* Homepage top status no-clipping v189: titles, numbers and notes each get a row. */
html body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid,
html body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid,
html body[data-active-panel="landing"][data-landing-module-layout="custom"] .shell .main .landing-workspace .landing-home-grid,
html body[data-landing-module-layout="custom"]:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid {
  grid-template-rows: 176px 276px 420px 240px 240px 180px 232px 180px 150px 196px !important;
}

html body[data-active-panel="landing"] .landing-home-grid > .section-card.landing-welcome-panel,
html body:has(.landing-workspace.active) .landing-home-grid > .section-card.landing-welcome-panel {
  height: 176px !important;
  min-height: 176px !important;
  max-height: 176px !important;
  padding-top: 24px !important;
  padding-bottom: 22px !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-welcome-copy,
html body:has(.landing-workspace.active) .landing-welcome-copy {
  min-height: 0 !important;
  gap: 16px !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-greeting-line,
html body:has(.landing-workspace.active) .landing-greeting-line {
  min-height: 40px !important;
  line-height: 1.12 !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-training-statusbar,
html body:has(.landing-workspace.active) .landing-training-statusbar {
  width: min(100%, 1060px) !important;
  grid-template-columns: minmax(312px, 1.36fr) repeat(3, minmax(176px, 1fr)) !important;
  gap: 16px !important;
  align-items: end !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-training-status,
html body:has(.landing-workspace.active) .landing-training-status {
  box-sizing: border-box !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .landing-training-status:not(:first-child),
html body:has(.landing-workspace.active) .landing-training-status:not(:first-child) {
  display: grid !important;
  grid-template-rows: 17px 34px 18px !important;
  align-content: center !important;
  gap: 1px !important;
  height: 92px !important;
  min-height: 92px !important;
  max-height: 92px !important;
  padding: 8px 18px !important;
  border-radius: 18px !important;
}

html body[data-active-panel="landing"] .landing-training-status:not(:first-child) > span,
html body:has(.landing-workspace.active) .landing-training-status:not(:first-child) > span,
html body[data-active-panel="landing"] .landing-training-status:not(:first-child) > strong,
html body:has(.landing-workspace.active) .landing-training-status:not(:first-child) > strong,
html body[data-active-panel="landing"] .landing-training-status:not(:first-child) > em,
html body:has(.landing-workspace.active) .landing-training-status:not(:first-child) > em {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
}

html body[data-active-panel="landing"] .landing-training-status:not(:first-child) > span,
html body:has(.landing-workspace.active) .landing-training-status:not(:first-child) > span {
  display: block !important;
  height: 17px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 17px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="landing"] .landing-training-status:not(:first-child) > strong,
html body:has(.landing-workspace.active) .landing-training-status:not(:first-child) > strong {
  display: block !important;
  height: 34px !important;
  color: #111827 !important;
  font-size: 25px !important;
  font-weight: 950 !important;
  line-height: 34px !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-training-status:nth-child(3) > strong,
html body[data-active-panel="landing"] .landing-training-status:nth-child(4) > strong,
html body:has(.landing-workspace.active) .landing-training-status:nth-child(3) > strong,
html body:has(.landing-workspace.active) .landing-training-status:nth-child(4) > strong {
  color: #6d4dff !important;
}

html body[data-active-panel="landing"] .landing-training-status:not(:first-child) > em,
html body:has(.landing-workspace.active) .landing-training-status:not(:first-child) > em {
  display: block !important;
  height: 18px !important;
  color: #7b89a3 !important;
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 850 !important;
  line-height: 18px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="landing"] .landing-training-status-primary,
html body[data-active-panel="landing"] .landing-training-status:first-child,
html body:has(.landing-workspace.active) .landing-training-status-primary,
html body:has(.landing-workspace.active) .landing-training-status:first-child {
  min-height: 112px !important;
  height: 112px !important;
  max-height: 112px !important;
  padding: 14px 18px !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .landing-training-status-primary > span,
html body[data-active-panel="landing"] .landing-training-status:first-child > span,
html body:has(.landing-workspace.active) .landing-training-status-primary > span,
html body:has(.landing-workspace.active) .landing-training-status:first-child > span,
html body[data-active-panel="landing"] .landing-training-status-primary > em,
html body[data-active-panel="landing"] .landing-training-status:first-child > em,
html body:has(.landing-workspace.active) .landing-training-status-primary > em,
html body:has(.landing-workspace.active) .landing-training-status:first-child > em {
  min-height: 17px !important;
  height: 17px !important;
  line-height: 17px !important;
}

html body[data-active-panel="landing"] .landing-training-status-primary > strong,
html body[data-active-panel="landing"] .landing-training-status:first-child > strong,
html body:has(.landing-workspace.active) .landing-training-status-primary > strong,
html body:has(.landing-workspace.active) .landing-training-status:first-child > strong {
  line-height: 46px !important;
  overflow: visible !important;
}

@media (max-width: 1180px) {
  html body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid,
  html body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid,
  html body[data-active-panel="landing"][data-landing-module-layout="custom"] .shell .main .landing-workspace .landing-home-grid,
  html body[data-landing-module-layout="custom"]:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid {
    grid-template-rows: 228px 276px 420px 240px 240px 180px 232px 180px 150px 196px !important;
  }

  html body[data-active-panel="landing"] .landing-home-grid > .section-card.landing-welcome-panel,
  html body:has(.landing-workspace.active) .landing-home-grid > .section-card.landing-welcome-panel {
    height: 228px !important;
    min-height: 228px !important;
    max-height: 228px !important;
  }

  html body[data-active-panel="landing"] .landing-training-statusbar,
  html body:has(.landing-workspace.active) .landing-training-statusbar {
    grid-template-columns: 1fr 1fr !important;
  }

  html body[data-active-panel="landing"] .landing-training-status-primary,
  html body[data-active-panel="landing"] .landing-training-status:first-child,
  html body:has(.landing-workspace.active) .landing-training-status-primary,
  html body:has(.landing-workspace.active) .landing-training-status:first-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 680px) {
  html body[data-active-panel="landing"] .shell .main .landing-workspace .landing-home-grid,
  html body:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid,
  html body[data-active-panel="landing"][data-landing-module-layout="custom"] .shell .main .landing-workspace .landing-home-grid,
  html body[data-landing-module-layout="custom"]:has(.landing-workspace.active) .shell .main .landing-workspace .landing-home-grid {
    grid-template-rows: 392px 276px 420px 240px 240px 180px 232px 180px 150px 196px !important;
  }

  html body[data-active-panel="landing"] .landing-home-grid > .section-card.landing-welcome-panel,
  html body:has(.landing-workspace.active) .landing-home-grid > .section-card.landing-welcome-panel {
    height: 392px !important;
    min-height: 392px !important;
    max-height: 392px !important;
  }

  html body[data-active-panel="landing"] .landing-training-statusbar,
  html body:has(.landing-workspace.active) .landing-training-statusbar {
    grid-template-columns: 1fr !important;
  }
}

/* Interview AI coach no-overlap v188: each card owns its space. */
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card.section-card {
  grid-template-rows: 40px minmax(0, 1fr) !important;
  gap: 10px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-ai-coach-panel,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card .interview-ai-coach-panel {
  grid-template-rows: 150px 270px minmax(0, 1fr) !important;
  gap: 12px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  min-height: 0 !important;
  box-sizing: border-box !important;
  padding: 12px !important;
  border-radius: 18px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card {
  grid-template-rows: 28px 58px minmax(0, 38px) !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-head,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-panel-title {
  min-height: 0 !important;
  align-items: center !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main {
  grid-template-columns: minmax(82px, 0.68fr) minmax(96px, 1fr) !important;
  gap: 10px !important;
  min-height: 0 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main small {
  display: block !important;
  margin-bottom: 4px !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main strong {
  font-size: 34px !important;
  line-height: 0.95 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card > p {
  margin: 0 !important;
  max-height: 38px !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 19px !important;
  -webkit-line-clamp: 2 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card {
  grid-template-rows: 32px minmax(0, 1fr) !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-list {
  grid-template-rows: repeat(5, 36px) !important;
  gap: 7px !important;
  align-content: start !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item span {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item b {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  display: inline-grid !important;
  place-items: center !important;
  font-size: 17px !important;
  line-height: 1 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  grid-template-rows: 32px minmax(0, 1fr) 38px 18px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list {
  min-height: 0 !important;
  max-height: none !important;
  display: grid !important;
  grid-auto-rows: minmax(40px, max-content) !important;
  align-content: start !important;
  gap: 8px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding-right: 2px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list {
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list button:nth-child(n + 4),
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list button.is-collapsed {
  display: none !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list button {
  min-height: 40px !important;
  height: auto !important;
  padding: 0 10px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-toggle {
  min-height: 38px !important;
  height: 38px !important;
  margin: 0 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-toggle[hidden] {
  display: none !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card > p {
  margin: 0 !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 18px !important;
  -webkit-line-clamp: 1 !important;
}

/* Interview top status fit: keep three-line progress metrics fully visible. */
html body[data-active-panel="interview"] .interview-studio {
  grid-template-rows: 88px minmax(0, 1fr) calc(72px + var(--safe-bottom)) !important;
}

html body[data-active-panel="interview"] .interview-training-statusbar {
  height: 88px !important;
  min-height: 88px !important;
  max-height: 88px !important;
  padding: 8px 24px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-training-metrics {
  align-items: center !important;
  overflow: visible !important;
}

html body[data-active-panel="interview"] .interview-training-metrics > span {
  min-height: 64px !important;
  height: 64px !important;
  padding: 8px 12px 7px !important;
  align-content: center !important;
  overflow: visible !important;
}

html body[data-active-panel="interview"] .interview-training-metrics > span small,
html body[data-active-panel="interview"] #interviewTopRemaining {
  line-height: 1.08 !important;
}

html body[data-active-panel="interview"] #interviewTopRoundLabel {
  min-height: 28px !important;
  padding-bottom: 9px !important;
  line-height: 1.02 !important;
  overflow: visible !important;
}

html body[data-active-panel="interview"] #interviewTopRoundLabel::after {
  bottom: 0 !important;
  height: 4px !important;
}

/* Interview candidate avatar: use the official default portrait, not an initial badge. */
html body[data-active-panel="interview"] .interview-training-avatar {
  background: #f3f7ff !important;
  border: 1px solid rgba(91, 140, 255, 0.16) !important;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.14) !important;
  color: transparent !important;
  font-size: 0 !important;
}

html body[data-active-panel="interview"] .interview-training-avatar::before,
html body[data-active-panel="interview"] .interview-training-avatar::after {
  content: none !important;
  display: none !important;
}

html body[data-active-panel="interview"] .interview-training-avatar-img {
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Account generated avatars v185: registration preference drives the default portrait. */
html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  color: transparent !important;
  font-size: 0 !important;
  text-indent: -999px !important;
  background-color: #f3f7ff !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body .topbar-user-avatar {
  width: 32px !important;
  height: 32px !important;
  border: 1px solid rgba(91, 140, 255, 0.18) !important;
  box-shadow: 0 10px 22px rgba(91, 140, 255, 0.16) !important;
}

html body .sidebar-account-button {
  grid-template-columns: 38px minmax(0, 1fr) auto !important;
}

html body .sidebar-account-avatar {
  width: 38px !important;
  height: 38px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18) !important;
}

html body .account-modal-preview {
  grid-template-columns: 54px minmax(0, 1fr) !important;
  align-items: center !important;
}

html body .account-preview-avatar {
  width: 54px !important;
  height: 54px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(91, 140, 255, 0.18) !important;
  box-shadow: 0 12px 26px rgba(91, 140, 255, 0.16) !important;
}

html body #accountPreviewAvatarHint {
  display: block !important;
  margin-top: 4px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-style: normal !important;
  line-height: 1.3 !important;
}

html body[data-active-panel="interview"] .interview-ai-coach-panel,
html body[data-active-panel="interview"] .interview-copilot-card .interview-ai-coach-panel {
  align-content: stretch !important;
  grid-column: 1 / 2 !important;
  grid-row: 2 / 3 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 132px 210px minmax(0, 1fr) !important;
  gap: 12px !important;
  overflow: hidden !important;
  overflow-y: hidden !important;
}

/* Final interview bottom action bar: fixed 72px, status / answer actions / question actions. */
html body[data-active-panel="interview"] .interview-bottom-actionbar {
  position: fixed !important;
  left: 236px !important;
  right: 0 !important;
  top: auto !important;
  bottom: 0 !important;
  width: auto !important;
  height: calc(72px + var(--safe-bottom)) !important;
  min-height: calc(72px + var(--safe-bottom)) !important;
  max-height: calc(72px + var(--safe-bottom)) !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 0.8fr) minmax(180px, 280px) minmax(344px, auto) minmax(236px, auto) !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 10px 24px calc(10px + var(--safe-bottom)) !important;
  border-width: 1px 0 0 !important;
  border-style: solid !important;
  border-color: rgba(124, 77, 255, 0.14) !important;
  border-radius: 0 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 -12px 34px rgba(15, 23, 42, 0.08) !important;
  backdrop-filter: blur(18px) !important;
}

html body[data-active-panel="interview"] .interview-bottom-context {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

html body[data-active-panel="interview"] .interview-bottom-context span {
  min-height: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  color: #6d4dff !important;
  background: rgba(124, 77, 255, 0.1) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"] #interviewRecordingTimer {
  color: #0f172a !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"] .interview-bottom-waveform {
  min-width: 0 !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 0 16px !important;
  border-left: 1px solid rgba(124, 77, 255, 0.12) !important;
  border-right: 1px solid rgba(124, 77, 255, 0.12) !important;
}

html body[data-active-panel="interview"] .interview-bottom-waveform i {
  width: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #7c4dff, #5b8cff) !important;
  box-shadow: 0 0 10px rgba(124, 77, 255, 0.22) !important;
}

html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(1),
html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(8) {
  height: 12px !important;
}

html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(2),
html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(7),
html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(11) {
  height: 20px !important;
}

html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(3),
html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(6),
html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(10) {
  height: 30px !important;
}

html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(4),
html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(9),
html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(12) {
  height: 24px !important;
}

html body[data-active-panel="interview"] .interview-bottom-waveform i:nth-child(5) {
  height: 34px !important;
}

html body[data-active-panel="interview"] .interview-bottom-actions {
  min-width: 0 !important;
  display: grid !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
}

html body[data-active-panel="interview"] .interview-bottom-actions-center {
  grid-template-columns: minmax(104px, 1fr) minmax(104px, 1fr) minmax(96px, 0.9fr) !important;
}

html body[data-active-panel="interview"] .interview-bottom-actions-right {
  grid-template-columns: minmax(104px, 0.9fr) minmax(112px, 1fr) !important;
}

html body[data-active-panel="interview"] .interview-bottom-actionbar .primary-btn,
html body[data-active-panel="interview"] .interview-bottom-actionbar .ghost-btn,
html body[data-active-panel="interview"] .interview-bottom-actionbar .danger-btn {
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 14px !important;
  border-radius: 13px !important;
  font-size: 14px !important;
  font-weight: 950 !important;
  white-space: nowrap !important;
}

html body[data-active-panel="interview"] .interview-bottom-actionbar .interview-btn-secondary {
  color: #5b54ff !important;
  border-color: rgba(124, 77, 255, 0.22) !important;
  background: rgba(124, 77, 255, 0.08) !important;
}

html body[data-active-panel="interview"] .interview-bottom-actionbar .interview-btn-weak {
  color: #64748b !important;
  border-color: rgba(148, 163, 184, 0.2) !important;
  background: rgba(248, 250, 252, 0.9) !important;
  box-shadow: none !important;
}

html body[data-active-panel="interview"] .shell.sidebar-collapsed .interview-bottom-actionbar,
html body[data-active-panel="interview"].compact-shell .interview-bottom-actionbar,
html body[data-active-panel="interview"].ios-app .interview-bottom-actionbar,
html.react-student-embedded body[data-active-panel="interview"] .interview-bottom-actionbar {
  left: 0 !important;
}

@media (max-width: 1180px) {
  html body[data-active-panel="interview"] .interview-bottom-actionbar {
    height: calc(112px + var(--safe-bottom)) !important;
    min-height: calc(112px + var(--safe-bottom)) !important;
    max-height: calc(112px + var(--safe-bottom)) !important;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr) !important;
    grid-template-rows: 1fr 1fr !important;
  }

  html body[data-active-panel="interview"] .interview-bottom-actions-right {
    grid-column: 2 / 3 !important;
  }
}

@media (max-width: 760px) {
  html body[data-active-panel="interview"] .interview-bottom-actionbar {
    height: calc(160px + var(--safe-bottom)) !important;
    min-height: calc(160px + var(--safe-bottom)) !important;
    max-height: calc(160px + var(--safe-bottom)) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    gap: 8px !important;
    padding: 10px 12px calc(10px + var(--safe-bottom)) !important;
  }

  html body[data-active-panel="interview"] .interview-bottom-actions-center,
  html body[data-active-panel="interview"] .interview-bottom-actions-right {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html body[data-active-panel="interview"] #interviewRecordingTimer {
    font-size: 18px !important;
  }
}

/* Interview delivery acceptance lock: 首页是驾驶舱，模拟面试页是固定框架训练舱。 */
html body[data-active-panel="interview"],
html body[data-active-panel="interview"] .shell,
html body[data-active-panel="interview"] .main,
html body[data-active-panel="interview"] .panel[data-panel="interview"],
html body[data-active-panel="interview"] .interview-studio,
html body[data-active-panel="interview"] .interview-main-dashboard {
  overflow: hidden !important;
  max-height: 100dvh !important;
}

html body[data-active-panel="interview"] .interview-studio {
  height: 100dvh !important;
  display: grid !important;
  grid-template-rows: 80px minmax(0, 1fr) calc(72px + var(--safe-bottom)) !important;
}

html body[data-active-panel="interview"] .interview-training-statusbar {
  position: fixed !important;
  top: 0 !important;
  left: 236px !important;
  right: 0 !important;
  height: 80px !important;
  max-height: 80px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-bottom-actionbar {
  position: fixed !important;
  left: 236px !important;
  right: 0 !important;
  bottom: 0 !important;
  height: calc(72px + var(--safe-bottom)) !important;
  max-height: calc(72px + var(--safe-bottom)) !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-main-dashboard {
  grid-row: 2 / 3 !important;
  height: 100% !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 72%) minmax(320px, 28%) !important;
  grid-template-rows: minmax(0, 1fr) !important;
  gap: 16px !important;
}

html body[data-active-panel="interview"] .interview-setup-card,
html body[data-active-panel="interview"] .interview-profile-form,
html body[data-active-panel="interview"] .interview-profile-dashboard,
html body[data-active-panel="interview"] .interview-resume-sync-card {
  display: none !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-workspace-card {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 2 !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  scrollbar-gutter: stable !important;
}

html body[data-active-panel="interview"] .interview-copilot-card,
html body[data-active-panel="interview"] .interview-ai-coach-panel {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

html body[data-active-panel="interview"] .coach-live-score-card,
html body[data-active-panel="interview"] .coach-structure-card,
html body[data-active-panel="interview"] .coach-followup-card,
html body[data-active-panel="interview"] .coach-judge-card {
  overflow: hidden !important;
}

html body[data-active-panel="interview"] .interview-question-feedback-card-inline[hidden] {
  display: none !important;
}

html body[data-active-panel="interview"] .shell.sidebar-collapsed .interview-training-statusbar,
html body[data-active-panel="interview"] .shell.sidebar-collapsed .interview-bottom-actionbar,
html body[data-active-panel="interview"].compact-shell .interview-training-statusbar,
html body[data-active-panel="interview"].compact-shell .interview-bottom-actionbar,
html body[data-active-panel="interview"].ios-app .interview-training-statusbar,
html body[data-active-panel="interview"].ios-app .interview-bottom-actionbar,
html.react-student-embedded body[data-active-panel="interview"] .interview-training-statusbar,
html.react-student-embedded body[data-active-panel="interview"] .interview-bottom-actionbar {
  left: 0 !important;
}

/* Interview XiaoWen guard: AI coach owns the training guidance; Xiaowen returns before/after the session. */
html body[data-active-panel="interview"] #companionDock,
html body[data-active-panel="interview"] #companionDock.companion-dock,
html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed,
html body[data-active-panel="interview"] #companionDock.companion-dock.companion-expanded {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body[data-active-panel="interview"] #companionAmbientStage,
html body[data-active-panel="interview"] #companionAmbientStage.companion-ambient-stage,
html body[data-active-panel="interview"] #companionAmbientStage.companion-ambient-stage.companion-ambient-moment {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html body[data-active-panel="interview"] #companionDock.companion-dock {
  right: calc(22px + var(--safe-right)) !important;
  bottom: calc(96px + var(--safe-bottom)) !important;
  left: auto !important;
  top: auto !important;
  z-index: 76 !important;
}

html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed {
  width: auto !important;
  max-width: 132px !important;
}

html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed #companionMini {
  width: auto !important;
  min-width: 104px !important;
  height: 34px !important;
  min-height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
  backdrop-filter: blur(14px) !important;
}

html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed #companionMiniAvatarStage,
html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed .companion-avatar-stage,
html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed .companion-drag-handle,
html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed .companion-mini-badge,
html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed #companionMiniText {
  display: none !important;
}

html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed #companionMiniAvatar {
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  display: inline-block !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  color: transparent !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12), 0 0 10px rgba(34, 197, 94, 0.58) !important;
  animation: none !important;
}

html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed .companion-mini-bubble {
  display: inline-flex !important;
  min-width: 0 !important;
  gap: 0 !important;
}

html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed #companionMiniName {
  display: inline !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed #companionMiniState {
  display: none !important;
}

html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed #companionMini::before,
html body[data-active-panel="interview"] #companionDock.companion-dock.companion-collapsed #companionMini::after {
  content: none !important;
  display: none !important;
}

/* Interview AI coach final layout v196: no overlap, follow-ups stay visible in the fixed right rail. */
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card.section-card {
  min-height: 0 !important;
  padding: 12px !important;
  display: grid !important;
  grid-template-rows: 42px minmax(0, 1fr) !important;
  gap: 8px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-ai-coach-panel,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card .interview-ai-coach-panel {
  min-height: 0 !important;
  height: 100% !important;
  display: grid !important;
  grid-template-rows: 112px 212px minmax(174px, 1fr) !important;
  gap: 8px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  min-height: 0 !important;
  height: 100% !important;
  display: grid !important;
  gap: 6px !important;
  padding: 10px !important;
  overflow: hidden !important;
  contain: layout paint !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card {
  grid-template-rows: 22px 42px 24px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card {
  grid-template-rows: auto minmax(0, 1fr) !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  grid-template-rows: auto minmax(0, 1fr) auto auto !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main {
  min-height: 0 !important;
  height: 42px !important;
  display: grid !important;
  grid-template-columns: minmax(72px, 0.68fr) minmax(78px, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-main strong {
  font-size: 34px !important;
  line-height: 0.9 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-completeness-track {
  width: 100% !important;
  height: 8px !important;
  min-width: 0 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card > p,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card > p {
  min-height: 0 !important;
  max-height: 24px !important;
  margin: 0 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  font-size: 11px !important;
  line-height: 1.18 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-list {
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: repeat(5, minmax(28px, 1fr)) !important;
  gap: 6px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item {
  min-height: 28px !important;
  height: auto !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item b {
  min-width: 22px !important;
  width: 22px !important;
  min-height: 22px !important;
  height: 22px !important;
  font-size: 12px !important;
  flex: 0 0 22px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  grid-template-rows: 24px minmax(0, 1fr) 34px 16px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list {
  min-height: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 6px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  padding-right: 2px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list button {
  min-height: 40px !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list {
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list button:nth-child(n + 4),
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card:not(.is-expanded) .coach-followup-list button.is-collapsed {
  display: none !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card.is-expanded .coach-followup-list button.is-collapsed {
  display: block !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list button {
  min-height: 34px !important;
  height: auto !important;
  padding: 7px 10px !important;
  border-radius: 13px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-toggle {
  position: relative !important;
  z-index: 3 !important;
  min-height: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  cursor: pointer !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card > p {
  min-height: 0 !important;
  height: 16px !important;
  margin: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 11px !important;
  line-height: 16px !important;
}

html body[data-active-panel="interview"].interview-coach-collapsed .interview-ai-coach-panel {
  display: none !important;
}

/* Product avatar absolute final lock v200: appended after all legacy overrides. */
html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar {
  position: relative !important;
  isolation: isolate !important;
  display: inline-grid !important;
  place-items: center !important;
  overflow: hidden !important;
  color: transparent !important;
  text-indent: 0 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  font-size: 0 !important;
  background-color: #5b8cff !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

html body .topbar-user-avatar::after,
html body .sidebar-account-avatar::after,
html body .account-preview-avatar::after,
html body[data-active-panel="interview"] .interview-training-avatar::after {
  content: attr(data-avatar-initial) !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 4 !important;
  display: grid !important;
  place-items: center !important;
  color: #0f172a !important;
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif !important;
  font-weight: 950 !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.42) !important;
  pointer-events: none !important;
}

html body .topbar-user-avatar::after {
  font-size: 13px !important;
}

html body .sidebar-account-avatar::after {
  font-size: 16px !important;
}

html body .account-preview-avatar::after {
  font-size: 22px !important;
}

html body[data-active-panel="interview"] .interview-training-avatar {
  position: relative !important;
  isolation: isolate !important;
  width: 44px !important;
  height: 44px !important;
  overflow: hidden !important;
  border-radius: 16px !important;
  border: 1px solid rgba(91, 140, 255, 0.18) !important;
  background: #5b8cff !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: 0 10px 24px rgba(91, 140, 255, 0.16) !important;
}

html body[data-active-panel="interview"] .interview-training-avatar::after {
  font-size: 19px !important;
}

html body[data-active-panel="interview"] .interview-training-avatar-img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* Default account avatar absolute final lock v202: must stay after legacy initial overlays. */
html body .topbar-user-avatar::after,
html body .sidebar-account-avatar::after,
html body .account-preview-avatar::after,
html body[data-active-panel="interview"] .interview-training-avatar::after {
  content: "" !important;
  display: none !important;
}

html body .topbar-user-avatar,
html body .sidebar-account-avatar,
html body .account-preview-avatar,
html body[data-active-panel="interview"] .interview-training-avatar {
  color: transparent !important;
  font-size: 0 !important;
  text-indent: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* Audio review final lock v246: keep this block last. */
html body[data-active-panel="audio"] #companionDock,
html body[data-active-panel="audio"] #companionMini,
html body[data-active-panel="audio"] #companionMiniAvatar,
html body[data-active-panel="audio"] #companionMiniAvatarStage,
html body[data-active-panel="audio"] #companionMiniCharacter,
html body[data-active-panel="audio"] #companionMiniBubble,
html body[data-active-panel="audio"] #companionAmbientStage,
html body[data-active-panel="audio"] #companionAmbientModel,
html body[data-active-panel="audio"] #companionAmbientCharacter,
html body[data-active-panel="audio"] .companion-dock,
html body[data-active-panel="audio"] .companion-mini,
html body[data-active-panel="audio"] .companion-avatar-stage,
html body[data-active-panel="audio"] .companion-mini-bubble,
html body[data-active-panel="audio"] .companion-ambient-stage,
html body[data-active-panel="audio"] .character-xiaowen,
html body[data-active-panel="audio"] img[src*="xiaowen"],
html body:has(.panel[data-panel="audio"].active) #companionDock,
html body:has(.panel[data-panel="audio"].active) #companionMini,
html body:has(.panel[data-panel="audio"].active) #companionMiniAvatar,
html body:has(.panel[data-panel="audio"].active) #companionMiniAvatarStage,
html body:has(.panel[data-panel="audio"].active) #companionMiniCharacter,
html body:has(.panel[data-panel="audio"].active) #companionMiniBubble,
html body:has(.panel[data-panel="audio"].active) #companionAmbientStage,
html body:has(.panel[data-panel="audio"].active) #companionAmbientModel,
html body:has(.panel[data-panel="audio"].active) #companionAmbientCharacter,
html body:has(.panel[data-panel="audio"].active) .companion-dock,
html body:has(.panel[data-panel="audio"].active) .companion-mini,
html body:has(.panel[data-panel="audio"].active) .companion-avatar-stage,
html body:has(.panel[data-panel="audio"].active) .companion-mini-bubble,
html body:has(.panel[data-panel="audio"].active) .companion-ambient-stage,
html body:has(.panel[data-panel="audio"].active) .character-xiaowen,
html body:has(.panel[data-panel="audio"].active) img[src*="xiaowen"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-title .icon-btn,
html body[data-active-panel="audio"] .audio-panel-head .icon-btn,
html body[data-active-panel="audio"] .audio-question-kicker .icon-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  background: rgba(255, 255, 255, 0.94) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06) !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

html body[data-active-panel="audio"] .audio-status-actions {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-workspace {
  grid-template-columns: 316px minmax(0, 1fr) 360px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body[data-active-panel="audio"] .audio-cabin-timeline-item * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item {
  min-height: 70px !important;
  padding: 11px 12px 11px 38px !important;
  grid-template-columns: 58px minmax(130px, 1fr) 52px !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  gap: 4px 10px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item span {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 3 !important;
  align-self: center !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item strong {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item em {
  grid-column: 2 / 3 !important;
  grid-row: 2 / 3 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item small {
  grid-column: 3 / 4 !important;
  grid-row: 1 / 3 !important;
  justify-self: end !important;
  align-self: center !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item span,
html body[data-active-panel="audio"] .audio-cabin-timeline-item strong,
html body[data-active-panel="audio"] .audio-cabin-timeline-item em,
html body[data-active-panel="audio"] .audio-cabin-timeline-item small {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

html body[data-active-panel="audio"] .audio-thread-block > img {
  width: 50px !important;
  height: 50px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  object-position: center 32% !important;
  background: #ece8ff !important;
  border: 1px solid rgba(124, 77, 255, 0.22) !important;
  box-shadow: 0 8px 20px rgba(91, 140, 255, 0.12) !important;
}

html body[data-active-panel="audio"] .audio-comment-head {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-action-bar {
  z-index: 3 !important;
  grid-template-columns: 84px minmax(340px, 1fr) minmax(560px, 1.15fr) !important;
}

html body[data-active-panel="audio"] .audio-action-buttons {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(190px, 1.15fr) minmax(150px, 0.9fr) minmax(150px, 0.9fr) !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-action-buttons .primary-btn,
html body[data-active-panel="audio"] .audio-action-buttons .ghost-btn {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  white-space: nowrap !important;
}
/* Audio review red-frame final lock v247: this must remain the last block. */
html body[data-active-panel="audio"] #companionDock,
html body[data-active-panel="audio"] #companionMini,
html body[data-active-panel="audio"] #companionMiniAvatar,
html body[data-active-panel="audio"] #companionMiniAvatarStage,
html body[data-active-panel="audio"] #companionMiniCharacter,
html body[data-active-panel="audio"] #companionMiniBubble,
html body[data-active-panel="audio"] #companionAmbientStage,
html body[data-active-panel="audio"] #companionAmbientModel,
html body[data-active-panel="audio"] #companionAmbientCharacter,
html body[data-active-panel="audio"] .companion-dock,
html body[data-active-panel="audio"] .companion-mini,
html body[data-active-panel="audio"] .companion-avatar-stage,
html body[data-active-panel="audio"] .companion-mini-bubble,
html body[data-active-panel="audio"] .companion-ambient-stage,
html body[data-active-panel="audio"] .is-workspace-hidden,
html body[data-active-panel="audio"] .character-xiaowen,
html body[data-active-panel="audio"] img[src*="xiaowen"],
html body:has(.panel[data-panel="audio"].active) #companionDock,
html body:has(.panel[data-panel="audio"].active) #companionMini,
html body:has(.panel[data-panel="audio"].active) #companionMiniAvatar,
html body:has(.panel[data-panel="audio"].active) #companionMiniAvatarStage,
html body:has(.panel[data-panel="audio"].active) #companionMiniCharacter,
html body:has(.panel[data-panel="audio"].active) #companionMiniBubble,
html body:has(.panel[data-panel="audio"].active) #companionAmbientStage,
html body:has(.panel[data-panel="audio"].active) #companionAmbientModel,
html body:has(.panel[data-panel="audio"].active) #companionAmbientCharacter,
html body:has(.panel[data-panel="audio"].active) .companion-dock,
html body:has(.panel[data-panel="audio"].active) .companion-mini,
html body:has(.panel[data-panel="audio"].active) .companion-avatar-stage,
html body:has(.panel[data-panel="audio"].active) .companion-mini-bubble,
html body:has(.panel[data-panel="audio"].active) .companion-ambient-stage,
html body:has(.panel[data-panel="audio"].active) .is-workspace-hidden,
html body:has(.panel[data-panel="audio"].active) .character-xiaowen,
html body:has(.panel[data-panel="audio"].active) img[src*="xiaowen"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-title .audio-back-btn,
html body .panel[data-panel="audio"].active .audio-cabin-title .audio-back-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0f172a !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07) !important;
}

html body[data-active-panel="audio"] .audio-panel-head .audio-collapse-btn,
html body .panel[data-panel="audio"].active .audio-panel-head .audio-collapse-btn {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  border-radius: 9px !important;
  border: 1px solid rgba(148, 163, 184, 0.28) !important;
  background: rgba(255, 255, 255, 0.88) !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  box-shadow: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-workspace,
html body .panel[data-panel="audio"].active .audio-cabin-workspace {
  grid-template-columns: 328px minmax(0, 1fr) 372px !important;
  gap: 14px !important;
}

html body[data-active-panel="audio"] .audio-dialogue-timeline,
html body .panel[data-panel="audio"].active .audio-dialogue-timeline {
  min-height: 0 !important;
  padding: 4px 0 0 12px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 72px !important;
  padding: 10px 12px 10px 38px !important;
  display: grid !important;
  grid-template-columns: 62px minmax(0, 1fr) 54px !important;
  grid-template-rows: 1fr !important;
  align-items: center !important;
  gap: 8px !important;
  text-align: left !important;
  white-space: normal !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item *,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  letter-spacing: 0 !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item .audio-timeline-time,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item .audio-timeline-time {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 2 !important;
  align-self: center !important;
  min-width: 0 !important;
  max-width: 62px !important;
  display: block !important;
  color: #5b54ff !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item .audio-timeline-copy,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item .audio-timeline-copy {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
  align-self: center !important;
  min-width: 0 !important;
  display: grid !important;
  gap: 5px !important;
  overflow: hidden !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item .audio-timeline-copy strong,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item .audio-timeline-copy strong {
  min-width: 0 !important;
  max-width: 100% !important;
  display: block !important;
  color: #0f172a !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
  font-weight: 950 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item .audio-timeline-copy em,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item .audio-timeline-copy em {
  min-width: 0 !important;
  max-width: 100% !important;
  display: block !important;
  color: #64748b !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  font-style: normal !important;
  font-weight: 800 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item small,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item small {
  grid-column: 3 / 4 !important;
  grid-row: 1 / 2 !important;
  justify-self: end !important;
  align-self: center !important;
  min-width: 0 !important;
  max-width: 54px !important;
  padding: 4px 7px !important;
  border-radius: 999px !important;
  color: #64748b !important;
  background: rgba(148, 163, 184, 0.1) !important;
  font-size: 11px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body[data-active-panel="audio"] .audio-thread-block,
html body .panel[data-panel="audio"].active .audio-thread-block {
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 14px !important;
}

html body[data-active-panel="audio"] .audio-thread-block > img,
html body .panel[data-panel="audio"].active .audio-thread-block > img {
  width: 54px !important;
  height: 54px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
  object-position: center 34% !important;
  background: #ece8ff !important;
  border: 1px solid rgba(124, 77, 255, 0.22) !important;
  box-shadow: 0 8px 20px rgba(91, 140, 255, 0.14) !important;
}

html body[data-active-panel="audio"] .audio-comment-head,
html body .panel[data-panel="audio"].active .audio-comment-head {
  display: none !important;
}

html body[data-active-panel="audio"] .audio-coach-panel,
html body .panel[data-panel="audio"].active .audio-coach-panel {
  min-height: 0 !important;
  padding: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-gutter: stable !important;
}

html body[data-active-panel="audio"] .audio-report-digest,
html body[data-active-panel="audio"] .audio-dimension-list,
html body[data-active-panel="audio"] .audio-coach-card,
html body[data-active-panel="audio"] .audio-coach-card ul,
html body .panel[data-panel="audio"].active .audio-report-digest,
html body .panel[data-panel="audio"].active .audio-dimension-list,
html body .panel[data-panel="audio"].active .audio-coach-card,
html body .panel[data-panel="audio"].active .audio-coach-card ul {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

html body[data-active-panel="audio"] .audio-report-digest,
html body .panel[data-panel="audio"].active .audio-report-digest {
  padding: 0 !important;
  display: grid !important;
  gap: 12px !important;
  border: 0 !important;
  background: transparent !important;
}

html body[data-active-panel="audio"] .audio-coach-score,
html body .panel[data-panel="audio"].active .audio-coach-score {
  min-height: auto !important;
  padding: 12px !important;
}

html body[data-active-panel="audio"] .audio-coach-score p,
html body .panel[data-panel="audio"].active .audio-coach-score p,
html body[data-active-panel="audio"] .audio-coach-card li,
html body .panel[data-panel="audio"].active .audio-coach-card li {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

html body[data-active-panel="audio"] .audio-action-bar,
html body .panel[data-panel="audio"].active .audio-action-bar {
  z-index: 3 !important;
  grid-template-columns: 84px minmax(340px, 1fr) minmax(560px, 1.12fr) !important;
  padding-right: 18px !important;
  overflow: hidden !important;
}
/* Workspace stability guard v260 final: this block must remain at file end. */
html body:not([data-active-panel="landing"]) .topbar {
  min-height: 64px !important;
  display: grid !important;
  grid-template-columns: minmax(150px, 220px) minmax(320px, 640px) minmax(160px, 1fr) !important;
  align-items: center !important;
  gap: 16px !important;
  overflow: visible !important;
}

html body:not([data-active-panel="landing"]) .topbar h1,
html body:not([data-active-panel="landing"]) .topbar h2,
html body:not([data-active-panel="landing"]) .topbar p,
html body:not([data-active-panel="landing"]) .topbar span,
html body:not([data-active-panel="landing"]) .topbar strong,
html body:not([data-active-panel="landing"]) .sidebar,
html body:not([data-active-panel="landing"]) .menu,
html body:not([data-active-panel="landing"]) .menu-item,
html body:not([data-active-panel="landing"]) .sidebar-section,
html body:not([data-active-panel="landing"]) .sidebar-account-card,
html body:not([data-active-panel="landing"]) .sidebar-account-card * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
  word-break: keep-all !important;
}

html body:not([data-active-panel="landing"]) .topbar h1,
html body:not([data-active-panel="landing"]) .topbar h2 {
  min-width: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
}

html body:not([data-active-panel="landing"]) .topbar-search {
  min-width: 0 !important;
  width: 100% !important;
  justify-self: center !important;
}

html body:not([data-active-panel="landing"]) .topbar-search input {
  width: 100% !important;
  min-height: 42px !important;
  line-height: 1.2 !important;
}

html body:not([data-active-panel="landing"]) .topbar-user-trigger {
  justify-self: end !important;
  min-width: 104px !important;
  max-width: 168px !important;
  min-height: 42px !important;
  overflow: hidden !important;
}

html body:not([data-active-panel="landing"]) .topbar-user-trigger strong {
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionDock,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionMini,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionMiniAvatar,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionMiniAvatarStage,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionMiniCharacter,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionMiniBubble,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionPanel,
html body:is([data-active-panel="interview"], [data-active-panel="audio"], [data-active-panel="debug-lab"], [data-active-panel="waveform"]) #companionAmbientStage,
html body.companion-workspace-hidden #companionDock,
html body.companion-workspace-hidden #companionMini,
html body.companion-workspace-hidden #companionMiniAvatar,
html body.companion-workspace-hidden #companionMiniAvatarStage,
html body.companion-workspace-hidden #companionMiniCharacter,
html body.companion-workspace-hidden #companionMiniBubble,
html body.companion-workspace-hidden #companionPanel,
html body.companion-workspace-hidden #companionAmbientStage {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-hero,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-hero {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 18px 24px !important;
  min-height: 136px !important;
  padding: 22px 28px !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title {
  flex: 1 1 640px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 10px 16px !important;
  min-width: 0 !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title h2,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title h2 {
  flex: 1 1 420px !important;
  min-width: min(420px, 100%) !important;
  max-width: 100% !important;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: keep-all !important;
  writing-mode: horizontal-tb !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-title > p:last-child,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-title > p:last-child {
  flex: 1 0 100% !important;
  max-width: 980px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-status,
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-status {
  flex: 0 1 680px !important;
  width: auto !important;
  min-width: min(100%, 520px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

html body[data-active-panel="waveform"] .waveform-investigation-status > div:not(.waveform-progress-ring):not(.waveform-hero-actions),
html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-status > div:not(.waveform-progress-ring):not(.waveform-hero-actions) {
  flex: 1 1 128px !important;
  min-width: 128px !important;
  max-width: 180px !important;
}

html body[data-active-panel="waveform"] .waveform-scope-card-main,
html body:has(.panel[data-panel="waveform"].active) .waveform-scope-card-main {
  min-height: 430px !important;
}

html body[data-active-panel="waveform"] .waveform-scope-svg,
html body:has(.panel[data-panel="waveform"].active) .waveform-scope-svg {
  width: 100% !important;
  min-height: 420px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item {
  min-height: 72px !important;
  grid-template-columns: 64px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item *,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

html body[data-active-panel="audio"] .audio-timeline-copy,
html body .panel[data-panel="audio"].active .audio-timeline-copy {
  min-width: 0 !important;
}

html body[data-active-panel="audio"] .audio-timeline-copy strong,
html body .panel[data-panel="audio"].active .audio-timeline-copy strong,
html body[data-active-panel="audio"] .audio-timeline-copy em,
html body .panel[data-panel="audio"].active .audio-timeline-copy em {
  display: block !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.25 !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-ai-coach-panel,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card > p,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card > p {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.45 !important;
}

@media (max-width: 1280px) {
  html body:not([data-active-panel="landing"]) .topbar {
    grid-template-columns: minmax(120px, 180px) minmax(260px, 1fr) auto !important;
  }

  html body[data-active-panel="waveform"] .waveform-investigation-status,
  html body:has(.panel[data-panel="waveform"].active) .waveform-investigation-status {
    justify-content: flex-start !important;
  }
}

/* Audio review cabin stability v261 EOF lock: final rule wins over historical audio locks. */
html body[data-active-panel="audio"] .audio-review-cabin > .audio-workbench-metrics,
html body[data-active-panel="audio"] .audio-review-cabin > .feedback-box.full,
html body[data-active-panel="audio"] .audio-review-cabin > .pipeline-grid.full,
html body[data-active-panel="audio"] .audio-review-cabin > .stack-list,
html body .panel[data-panel="audio"].active .audio-review-cabin > .audio-workbench-metrics,
html body .panel[data-panel="audio"].active .audio-review-cabin > .feedback-box.full,
html body .panel[data-panel="audio"].active .audio-review-cabin > .pipeline-grid.full,
html body .panel[data-panel="audio"].active .audio-review-cabin > .stack-list {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html body[data-active-panel="audio"] .audio-cabin-workspace,
html body .panel[data-panel="audio"].active .audio-cabin-workspace {
  grid-template-columns: clamp(208px, 20vw, 260px) minmax(430px, 1fr) clamp(276px, 24vw, 320px) !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-current-question,
html body .panel[data-panel="audio"].active .audio-current-question {
  grid-template-columns: minmax(0, 1fr) minmax(112px, auto) !important;
}

html body[data-active-panel="audio"] .audio-main-scroll,
html body .panel[data-panel="audio"].active .audio-main-scroll {
  min-width: 0 !important;
  padding: 16px !important;
}

html body[data-active-panel="audio"] .audio-current-question h1,
html body .panel[data-panel="audio"].active .audio-current-question h1,
html body[data-active-panel="audio"] .audio-speech-card p,
html body .panel[data-panel="audio"].active .audio-speech-card p,
html body[data-active-panel="audio"] .audio-coach-card li,
html body .panel[data-panel="audio"].active .audio-coach-card li {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item {
  grid-template-columns: 54px minmax(0, 1fr) 48px !important;
  gap: 4px 8px !important;
}

html body[data-active-panel="audio"] .audio-question-meta,
html body .panel[data-panel="audio"].active .audio-question-meta {
  min-width: 112px !important;
  justify-self: end !important;
}

@media (max-width: 1180px) {
  html body[data-active-panel="audio"] .audio-cabin-workspace,
  html body .panel[data-panel="audio"].active .audio-cabin-workspace {
    grid-template-columns: 198px minmax(390px, 1fr) 268px !important;
  }

  html body[data-active-panel="audio"] .audio-question-meta,
  html body .panel[data-panel="audio"].active .audio-question-meta {
    display: none !important;
  }

  html body[data-active-panel="audio"] .audio-current-question,
  html body .panel[data-panel="audio"].active .audio-current-question {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Audio timeline EOF lock: keep time, title and duration in separate readable columns. */
html body[data-active-panel="audio"] .audio-cabin-timeline-item > .audio-timeline-time,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item > .audio-timeline-time {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 3 !important;
  width: auto !important;
  min-width: 0 !important;
  justify-self: start !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item > .audio-timeline-copy,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item > .audio-timeline-copy {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 3 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  display: grid !important;
  align-content: center !important;
  gap: 2px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item > .audio-timeline-copy strong,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item > .audio-timeline-copy strong,
html body[data-active-panel="audio"] .audio-cabin-timeline-item > .audio-timeline-copy em,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item > .audio-timeline-copy em {
  grid-column: auto !important;
  grid-row: auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item > small,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item > small {
  grid-column: 3 / 4 !important;
  grid-row: 1 / 3 !important;
  justify-self: end !important;
  align-self: center !important;
}

/* Audio timeline compact columns v261: reserve readable width for the title. */
html body[data-active-panel="audio"] .audio-dialogue-timeline,
html body .panel[data-panel="audio"].active .audio-dialogue-timeline {
  padding-left: 8px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item {
  padding: 10px 8px 10px 30px !important;
  grid-template-columns: 42px minmax(56px, 1fr) 36px !important;
  gap: 4px 6px !important;
}

html body[data-active-panel="audio"] .audio-cabin-timeline-item small,
html body .panel[data-panel="audio"].active .audio-cabin-timeline-item small {
  font-size: 11px !important;
}

/* Sidebar collapse restore v263: keep the upper-left rail toggle visible on every workspace. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) body .shell .sidebar {
    position: sticky !important;
    top: 0 !important;
    align-self: start !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .brand {
    position: relative !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .sidebar-toggle,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .sidebar .sidebar-toggle {
    display: inline-grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    z-index: 80 !important;
    width: 30px !important;
    height: 30px !important;
    place-items: center !important;
    border: 1px solid rgba(226, 232, 240, 0.14) !important;
    border-radius: 10px !important;
    color: rgba(226, 232, 240, 0.88) !important;
    background: rgba(15, 23, 42, 0.42) !important;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18) !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .sidebar-toggle:hover,
  html:not(.react-student-embedded) body .shell .sidebar .sidebar-toggle:focus-visible {
    color: #fff !important;
    background: rgba(124, 77, 255, 0.34) !important;
    border-color: rgba(167, 139, 250, 0.5) !important;
    outline: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded {
    grid-template-columns: 236px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded {
    grid-template-columns: 208px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    padding: 18px 10px 14px !important;
    overflow-x: hidden !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .brand {
    height: 92px !important;
    min-height: 92px !important;
    margin: 0 0 8px !important;
    padding: 38px 0 0 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-head--main,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .brand-head--main {
    min-height: 42px !important;
    display: grid !important;
    place-items: center !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-icon-logo,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .brand-icon-logo {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    object-fit: contain !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-subtitle-text,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .brand-main-logo,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .brand-subtitle-text {
    display: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .menu,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .menu {
    align-items: center !important;
    gap: 10px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .menu-item,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .menu-item,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar-bottom-link {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    margin-inline: auto !important;
    display: grid !important;
    grid-template-columns: 48px !important;
    place-items: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .menu-item::before,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .menu-item::before {
    position: static !important;
    transform: none !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar-section,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar-section {
    width: 48px !important;
    height: 0 !important;
    margin: 4px auto 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: transparent !important;
    opacity: 0 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed .sidebar-account-card {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(8px) scale(0.94) !important;
  }
}

/* Sidebar stable reset v271: button-driven collapse only; no checkbox/hover layout side effects. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) body .shell.sidebar-expanded,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) {
    grid-template-columns: 236px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded:has(> .sidebar:focus-within) {
    grid-template-columns: 208px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within),
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed:has(> .sidebar:focus-within) {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar {
    width: 236px !important;
    min-width: 236px !important;
    max-width: 236px !important;
    padding: 18px 16px 14px !important;
    overflow-x: hidden !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded .sidebar {
    width: 208px !important;
    min-width: 208px !important;
    max-width: 208px !important;
    padding: 22px 14px 16px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    padding: 18px 10px 14px !important;
    overflow-x: hidden !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand {
    position: relative !important;
    height: auto !important;
    min-height: 92px !important;
    margin: 0 0 12px !important;
    padding: 0 8px 0 !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-head--main {
    display: block !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-icon-logo {
    display: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-main-logo {
    display: block !important;
    width: 130px !important;
    max-width: 130px !important;
    height: auto !important;
    object-fit: contain !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded .brand-main-logo {
    width: 118px !important;
    max-width: 118px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-subtitle-text {
    display: block !important;
    width: 100% !important;
    margin-top: 8px !important;
    color: rgba(226, 232, 240, 0.82) !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar .sidebar-toggle,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell .sidebar .sidebar-toggle {
    display: inline-grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: absolute !important;
    top: 7px !important;
    right: 8px !important;
    left: auto !important;
    z-index: 120 !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    place-items: center !important;
    border: 1px solid rgba(226, 232, 240, 0.16) !important;
    border-radius: 10px !important;
    color: rgba(226, 232, 240, 0.86) !important;
    background: rgba(15, 23, 42, 0.45) !important;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.2) !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-align: center !important;
    transform: none !important;
    cursor: pointer !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand {
    height: 92px !important;
    min-height: 92px !important;
    margin: 0 0 8px !important;
    padding: 38px 0 0 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-head--main {
    min-height: 42px !important;
    display: grid !important;
    place-items: center !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-icon-logo {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    object-fit: contain !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-subtitle-text {
    display: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar-toggle {
    top: 72px !important;
    left: 21px !important;
    right: auto !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu {
    display: grid !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    gap: 4px !important;
    overflow: hidden !important;
    padding-bottom: 10px !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-section {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 12px 0 4px !important;
    padding: 0 14px !important;
    color: rgba(203, 213, 225, 0.58) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.12em !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .menu-item,
  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-link,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-bottom-link {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    grid-template-columns: none !important;
    margin: 0 !important;
    padding: 0 14px 0 46px !important;
    border: 0 !important;
    border-radius: 12px !important;
    color: rgba(226, 232, 240, 0.84) !important;
    background: transparent !important;
    font-size: 14px !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item.active,
  html:not(.react-student-embedded) body .sidebar .menu-item:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #4b8dff 0%, #7c4dff 62%, #a334ff 100%) !important;
    box-shadow: 0 12px 28px rgba(124, 77, 255, 0.28) !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item::before,
  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-link::before {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    color: currentColor !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    text-align: center !important;
    transform: translateY(-50%) !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item.active::before {
    background: rgba(255, 255, 255, 0.14) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .menu {
    align-items: center !important;
    gap: 10px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-section {
    width: 48px !important;
    height: 0 !important;
    margin: 4px auto 0 !important;
    padding: 0 !important;
    color: transparent !important;
    opacity: 0 !important;
    overflow: hidden !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-bottom-link {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -999px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .menu-item::before,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-bottom-link::before {
    position: static !important;
    transform: none !important;
    text-indent: 0 !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-zone,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-bottom-zone {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-top: auto !important;
    display: grid !important;
    gap: 7px !important;
    z-index: auto !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-bottom-zone {
    align-items: center !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-account-card {
    display: none !important;
  }
}

/* Sidebar compact fit v272: keep every nav entry readable without bottom-zone overlap. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand {
    min-height: 80px !important;
    height: 80px !important;
    margin: 0 0 10px !important;
    padding: 0 6px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-head--main,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded .brand-head--main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-auto-flow: row !important;
    justify-items: center !important;
    align-content: start !important;
    gap: 7px !important;
    width: 100% !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-main-logo,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded .brand-main-logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: 126px !important;
    max-width: 126px !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    transform: none !important;
    left: 0 !important;
    right: auto !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded .brand-main-logo {
    width: 116px !important;
    max-width: 116px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-subtitle-text,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded .brand-subtitle-text {
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 170px !important;
    margin: 0 auto !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .menu {
    flex: 0 0 auto !important;
    gap: 4px !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-section,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-section {
    margin: 9px 0 3px !important;
    padding: 0 14px !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .menu-item {
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding-left: 46px !important;
    font-size: 14px !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-zone,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-bottom-zone {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding-top: 8px !important;
    gap: 6px !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-link,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-bottom-link {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-account-card {
    margin: 0 !important;
    padding: 8px 0 0 !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-button,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .sidebar .sidebar-account-button {
    height: 62px !important;
    min-height: 62px !important;
    max-height: 62px !important;
    border-radius: 14px !important;
  }
}

/* Sidebar hover lock v275: mouse movement must never change sidebar structure. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) body .shell .sidebar,
  html:not(.react-student-embedded) body .shell .sidebar * {
    transition-property: background-color, border-color, color, box-shadow, opacity !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) {
    grid-template-columns: 236px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded:has(> .sidebar:focus-within) {
    grid-template-columns: 208px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within),
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed:has(> .sidebar:focus-within) {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar {
    width: 236px !important;
    min-width: 236px !important;
    max-width: 236px !important;
    padding: 18px 16px 14px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar {
    width: 208px !important;
    min-width: 208px !important;
    max-width: 208px !important;
    padding: 22px 14px 16px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    padding: 18px 10px 14px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand {
    min-height: 80px !important;
    height: 80px !important;
    margin: 0 0 10px !important;
    padding: 0 6px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-head--main,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-head--main {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-auto-flow: row !important;
    justify-items: center !important;
    align-content: start !important;
    gap: 7px !important;
    width: 100% !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-icon-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-icon-logo {
    display: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-main-logo {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: 126px !important;
    max-width: 126px !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 auto !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded:has(> .sidebar:hover) .brand-main-logo,
  html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-main-logo {
    width: 116px !important;
    max-width: 116px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-subtitle-text,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-subtitle-text {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    justify-self: center !important;
    width: 100% !important;
    max-width: 170px !important;
    margin: 0 auto !important;
    color: rgba(226, 232, 240, 0.82) !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: normal !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .menu,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .menu {
    flex: 0 0 auto !important;
    display: grid !important;
    gap: 4px !important;
    align-items: stretch !important;
    overflow: visible !important;
    padding-bottom: 0 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-section {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 9px 0 3px !important;
    padding: 0 14px !important;
    color: rgba(203, 213, 225, 0.58) !important;
    font-size: 10px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-bottom-link,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-bottom-link {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 14px 0 46px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .menu-item::before,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .menu-item::before,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-bottom-link::before,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-bottom-link::before {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 22px !important;
    height: 22px !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-bottom-zone,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-bottom-zone {
    position: static !important;
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 8px !important;
    display: grid !important;
    gap: 6px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-account-card {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .brand,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .brand {
    height: 92px !important;
    min-height: 92px !important;
    margin: 0 0 8px !important;
    padding: 38px 0 0 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .brand-head--main,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .brand-head--main {
    min-height: 42px !important;
    display: grid !important;
    place-items: center !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .brand-icon-logo,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .brand-icon-logo {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .brand-subtitle-text,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .brand-subtitle-text {
    display: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar .sidebar-bottom-link,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar .sidebar-bottom-link {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -999px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar .sidebar-account-card {
    display: none !important;
  }
}

/* Sidebar final visual lock v277.1: keep the client rail consistent on every page. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) body .shell.sidebar-expanded,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within),
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) {
    grid-template-columns: 236px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within),
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed:has(> .sidebar:focus-within) {
    grid-template-columns: 76px minmax(0, 1fr) !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar,
  html:not(.react-student-embedded) body[data-active-panel] .shell .sidebar,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar {
    width: 236px !important;
    min-width: 236px !important;
    max-width: 236px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 20px 18px 16px !important;
    overflow: hidden !important;
    background:
      radial-gradient(circle at 82% 10%, rgba(124, 77, 255, 0.22), transparent 28%),
      radial-gradient(circle at 12% 20%, rgba(91, 140, 255, 0.14), transparent 30%),
      linear-gradient(180deg, #07142b 0%, #071225 52%, #061021 100%) !important;
    border-right: 1px solid rgba(148, 163, 184, 0.12) !important;
    box-shadow: 18px 0 38px rgba(15, 23, 42, 0.16) !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .sidebar,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    padding: 18px 12px 14px !important;
  }

  html:not(.react-student-embedded) body .shell .sidebar,
  html:not(.react-student-embedded) body .shell .sidebar * {
    transition-property: background-color, border-color, color, box-shadow, opacity !important;
  }

  html:not(.react-student-embedded) body .sidebar .brand,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .brand {
    position: relative !important;
    width: 100% !important;
    height: 106px !important;
    min-height: 106px !important;
    margin: 0 0 14px !important;
    padding: 2px 38px 0 2px !important;
    display: grid !important;
    align-items: start !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .sidebar .brand-head,
  html:not(.react-student-embedded) body .sidebar .brand-head--main,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .brand-head,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .brand-head--main {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-auto-flow: row !important;
    justify-items: start !important;
    gap: 8px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .brand-icon-logo,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .brand-icon-logo {
    display: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .brand-main-logo,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .brand-main-logo {
    display: block !important;
    width: 148px !important;
    max-width: 148px !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    transform: none !important;
    filter: saturate(1.08) contrast(1.08) drop-shadow(0 10px 20px rgba(2, 6, 23, 0.28)) !important;
  }

  html:not(.react-student-embedded) body .sidebar .brand-subtitle-text,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .brand-subtitle-text {
    display: block !important;
    width: 178px !important;
    max-width: 178px !important;
    margin: 0 !important;
    color: rgba(226, 232, 240, 0.82) !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-toggle,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .sidebar-toggle {
    display: inline-grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    place-items: center !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-radius: 10px !important;
    color: rgba(226, 232, 240, 0.86) !important;
    background: rgba(15, 23, 42, 0.58) !important;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.2) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .brand,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .brand,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .brand {
    height: 98px !important;
    min-height: 98px !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    display: grid !important;
    place-items: start center !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-icon-logo,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .brand-icon-logo,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .brand-icon-logo,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .brand-icon-logo {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    margin-top: 2px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .brand-subtitle-text,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .brand-main-logo,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .brand-subtitle-text {
    display: none !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar-toggle,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .sidebar-toggle {
    top: 56px !important;
    left: 10px !important;
    right: auto !important;
    width: 34px !important;
    height: 30px !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .menu {
    display: grid !important;
    gap: 5px !important;
    align-items: start !important;
    flex: 0 0 auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-section,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .sidebar-section {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 10px 0 5px !important;
    padding: 0 12px !important;
    color: rgba(148, 163, 184, 0.76) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item,
  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-link,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .menu-item,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .sidebar-bottom-link {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 13px 0 44px !important;
    border: 1px solid transparent !important;
    border-radius: 11px !important;
    color: rgba(226, 232, 240, 0.86) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 760 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item.active,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .menu-item.active {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: linear-gradient(135deg, #4b8dff 0%, #7c4dff 62%, #a334ff 100%) !important;
    box-shadow: 0 12px 26px rgba(124, 77, 255, 0.28) !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item:hover,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .menu-item:hover {
    color: #fff !important;
    background: rgba(148, 163, 184, 0.1) !important;
    box-shadow: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item.active:hover,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .menu-item.active:hover {
    background: linear-gradient(135deg, #4b8dff 0%, #7c4dff 62%, #a334ff 100%) !important;
    box-shadow: 0 12px 26px rgba(124, 77, 255, 0.28) !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item::before,
  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-link::before,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .menu-item::before,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .sidebar-bottom-link::before {
    content: "" !important;
    position: absolute !important;
    left: 13px !important;
    top: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 8px !important;
    color: currentColor !important;
    background: rgba(255, 255, 255, 0.06) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-indent: 0 !important;
    transform: translateY(-50%) !important;
  }

  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="landing"]::before { content: "⌂" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="interview"]::before { content: "◉" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="audio"]::before { content: "▣" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="debug-lab"]::before { content: "⌘" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="waveform"]::before { content: "⌁" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="question-bank"]::before { content: "□" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="reports"]::before { content: "▤" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="resume"]::before { content: "◇" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="message-center"]::before { content: "◦" !important; }
  html:not(.react-student-embedded) body .sidebar .menu-item[data-view="settings"]::before { content: "⚙" !important; }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .menu,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .sidebar .menu {
    align-items: center !important;
    gap: 9px !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-section,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .sidebar .sidebar-section {
    width: 48px !important;
    height: 0 !important;
    margin: 3px auto 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-bottom-link,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .sidebar .menu-item,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .sidebar .sidebar-bottom-link {
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 0 !important;
    display: grid !important;
    place-items: center !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -999px !important;
    overflow: hidden !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .menu-item::before,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar .sidebar-bottom-link::before,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .sidebar .menu-item::before,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .sidebar .sidebar-bottom-link::before {
    position: static !important;
    transform: none !important;
    text-indent: 0 !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-bottom-zone,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .sidebar-bottom-zone {
    position: static !important;
    width: 100% !important;
    margin-top: auto !important;
    padding-top: 12px !important;
    display: grid !important;
    gap: 6px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .sidebar-account-card {
    display: block !important;
    margin: 5px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-button,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .sidebar-account-button {
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    padding: 8px 12px !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) 14px !important;
    align-items: center !important;
    gap: 10px !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 15px !important;
    color: #f8fafc !important;
    background: rgba(15, 23, 42, 0.44) !important;
    box-shadow: none !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-avatar,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .sidebar-account-avatar {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.38), 0 10px 22px rgba(2, 6, 23, 0.22) !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-copy,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .sidebar-account-copy {
    min-width: 0 !important;
    display: block !important;
  }

  html:not(.react-student-embedded) body .sidebar .sidebar-account-copy strong,
  html:not(.react-student-embedded) body[data-active-panel] .sidebar .sidebar-account-copy strong {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #f8fafc !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
  }

  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-collapsed .sidebar-account-card {
    display: none !important;
  }
}

/* Sidebar specificity lock v277.2: override older landing hover selectors. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand {
    height: 106px !important;
    min-height: 106px !important;
    margin: 0 0 14px !important;
    padding: 2px 38px 0 2px !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand-main-logo,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand-main-logo,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand-main-logo {
    display: block !important;
    width: 144px !important;
    max-width: 144px !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .sidebar-toggle,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-toggle,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-toggle {
    display: inline-grid !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    place-items: center !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    line-height: 1 !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-account-card,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-account-card {
    margin: 5px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }
}

/* Sidebar menu hover lock v277.3: hover/focus never changes menu geometry. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .menu-item,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .menu-item,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .menu-item,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .sidebar-bottom-link,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-bottom-link,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-bottom-link {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 13px 0 44px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transform: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .menu-item::before,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .menu-item::before,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .menu-item::before,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .sidebar-bottom-link::before,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-bottom-link::before,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-bottom-link::before {
    position: absolute !important;
    left: 13px !important;
    top: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: grid !important;
    place-items: center !important;
    font-size: 14px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    transform: translateY(-50%) !important;
  }

  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .sidebar-section,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-section,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-section {
    height: auto !important;
    margin: 10px 0 5px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    opacity: 1 !important;
  }

  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .sidebar-account-button,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .sidebar-account-button,
  html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .sidebar-account-button {
    width: 100% !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    padding: 8px 12px !important;
    display: grid !important;
    grid-template-columns: 46px minmax(0, 1fr) 14px !important;
    align-items: center !important;
    gap: 10px !important;
    border-radius: 15px !important;
  }
}

/* Sidebar hard hover kill v280: hover/focus must never expand, shrink, or reflow the rail. */
@media (min-width: 900px) {
  html:not(.react-student-embedded) .shell,
  html:not(.react-student-embedded) body .shell,
  html:not(.react-student-embedded) .shell:has(> .sidebar:hover),
  html:not(.react-student-embedded) .shell:has(> .sidebar:focus-within),
  html:not(.react-student-embedded) body .shell:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell:has(> .sidebar:focus-within),
  html:not(.react-student-embedded) .shell.sidebar-expanded,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:focus-within),
  html:not(.react-student-embedded) body .shell.sidebar-expanded,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) {
    grid-template-columns: 236px minmax(0, 1fr) !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-collapsed,
  html:not(.react-student-embedded) .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) .shell.sidebar-collapsed:has(> .sidebar:focus-within),
  html:not(.react-student-embedded) body .shell.sidebar-collapsed,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover),
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) .shell .sidebar,
  html:not(.react-student-embedded) .shell:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) .shell:has(> .sidebar:focus-within) .sidebar,
  html:not(.react-student-embedded) body .shell .sidebar,
  html:not(.react-student-embedded) body .shell:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body .shell:has(> .sidebar:focus-within) .sidebar {
    width: 236px !important;
    min-width: 236px !important;
    max-width: 236px !important;
    padding: 20px 18px 16px !important;
    overflow: hidden !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-collapsed .sidebar,
  html:not(.react-student-embedded) .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:hover) .sidebar,
  html:not(.react-student-embedded) body .shell.sidebar-collapsed:has(> .sidebar:focus-within) .sidebar {
    width: 76px !important;
    min-width: 76px !important;
    max-width: 76px !important;
    padding: 18px 12px 14px !important;
    overflow: hidden !important;
    transition: none !important;
  }

  html:not(.react-student-embedded) .shell .sidebar *,
  html:not(.react-student-embedded) body .shell .sidebar * {
    transition: none !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-expanded .brand,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:hover) .brand,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand {
    height: 106px !important;
    min-height: 106px !important;
    padding: 2px 38px 0 2px !important;
    margin: 0 0 14px !important;
    display: grid !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-expanded .brand-head--main,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:hover) .brand-head--main,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-head--main,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-head--main,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-head--main,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-head--main {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    gap: 8px !important;
    min-height: 0 !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-expanded .brand-icon-logo,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:hover) .brand-icon-logo,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-icon-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-icon-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-icon-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-icon-logo {
    display: none !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-expanded .brand-main-logo,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:hover) .brand-main-logo,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-main-logo,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-main-logo {
    display: block !important;
    width: 144px !important;
    max-width: 144px !important;
    height: auto !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-expanded .brand-subtitle-text,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:hover) .brand-subtitle-text,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-subtitle-text,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .brand-subtitle-text,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .brand-subtitle-text,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .brand-subtitle-text {
    display: block !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-expanded .sidebar-section,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar-section,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar-section,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar-section {
    width: 100% !important;
    height: auto !important;
    margin: 10px 0 5px !important;
    padding: 0 12px !important;
    color: rgba(148, 163, 184, 0.76) !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-expanded .menu-item,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:hover) .menu-item,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:focus-within) .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .menu-item,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .menu-item {
    width: 100% !important;
    min-width: 0 !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    margin-inline: 0 !important;
    padding: 0 13px 0 44px !important;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    font-size: 14px !important;
    line-height: 1 !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-expanded .menu-item::before,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:hover) .menu-item::before,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:focus-within) .menu-item::before,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .menu-item::before,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .menu-item::before,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .menu-item::before {
    position: absolute !important;
    left: 13px !important;
    top: 50% !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }

  html:not(.react-student-embedded) .shell.sidebar-expanded .sidebar-account-card,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar-account-card,
  html:not(.react-student-embedded) .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar-account-card,
  html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar-account-card,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar-account-card,
  html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar-account-card {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

/* Final cascade lock v281: keep experience optimization last in the file. */
html body[data-active-panel="landing"] .landing-home-grid,
html body:has(.landing-workspace.active) .landing-home-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-rows: auto !important;
  gap: 22px !important;
  align-items: start !important;
}

html body[data-active-panel="landing"] .landing-home-grid > .section-card,
html body:has(.landing-workspace.active) .landing-home-grid > .section-card {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

html body[data-active-panel="landing"] .landing-home-grid > .landing-xiaowen-briefing,
html body[data-active-panel="landing"] .landing-home-grid > .landing-route-card,
html body[data-active-panel="landing"] .landing-home-grid > #landingAchievementCenter,
html body[data-active-panel="landing"] .landing-home-grid > .landing-hardware-focus,
html body[data-active-panel="landing"] .landing-home-grid > .landing-hardware-questions,
html body[data-active-panel="landing"] .landing-home-grid > .landing-coach-card-bottom,
html body[data-active-panel="landing"] .landing-home-grid > .landing-special-training,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-xiaowen-briefing,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-route-card,
html body:has(.landing-workspace.active) .landing-home-grid > #landingAchievementCenter,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-hardware-focus,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-hardware-questions,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-coach-card-bottom,
html body:has(.landing-workspace.active) .landing-home-grid > .landing-special-training {
  display: none !important;
}

html body[data-active-panel="landing"] .landing-welcome-panel,
html body:has(.landing-workspace.active) .landing-welcome-panel {
  min-height: 170px !important;
  height: auto !important;
  padding: 24px !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-greeting-line,
html body:has(.landing-workspace.active) .landing-greeting-line {
  margin: 0 0 14px !important;
  line-height: 1.15 !important;
}

html body[data-active-panel="landing"] .landing-training-statusbar,
html body:has(.landing-workspace.active) .landing-training-statusbar {
  display: grid !important;
  grid-template-columns: minmax(300px, 1.45fr) repeat(3, minmax(190px, 1fr)) !important;
  gap: 18px !important;
  align-items: stretch !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-training-status,
html body:has(.landing-workspace.active) .landing-training-status {
  min-height: 96px !important;
  height: auto !important;
  padding: 14px 18px !important;
  overflow: visible !important;
  align-content: center !important;
  gap: 4px !important;
}

html body[data-active-panel="landing"] .landing-training-status span,
html body[data-active-panel="landing"] .landing-training-status em,
html body[data-active-panel="landing"] .landing-training-status b,
html body:has(.landing-workspace.active) .landing-training-status span,
html body:has(.landing-workspace.active) .landing-training-status em,
html body:has(.landing-workspace.active) .landing-training-status b {
  line-height: 1.18 !important;
  white-space: normal !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-training-status strong,
html body:has(.landing-workspace.active) .landing-training-status strong {
  line-height: 1.02 !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-training-status-primary strong,
html body:has(.landing-workspace.active) .landing-training-status-primary strong {
  font-size: 46px !important;
}

html body[data-active-panel="landing"] .landing-focus-decision,
html body:has(.landing-workspace.active) .landing-focus-decision {
  min-height: 250px !important;
  padding: 24px !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 12% 8%, rgba(124, 77, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)) !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08) !important;
  overflow: visible !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-head,
html body:has(.landing-workspace.active) .landing-focus-decision-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-head span,
html body:has(.landing-workspace.active) .landing-focus-decision-head span {
  color: #0f172a !important;
  font-size: 24px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-head strong,
html body:has(.landing-workspace.active) .landing-focus-decision-head strong {
  color: #7c4dff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-grid,
html body:has(.landing-workspace.active) .landing-focus-decision-grid {
  display: grid !important;
  grid-template-columns: 1.25fr 1fr 1.25fr !important;
  gap: 18px !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card,
html body:has(.landing-workspace.active) .landing-focus-decision-card {
  min-height: 154px !important;
  padding: 20px !important;
  display: grid !important;
  align-content: center !important;
  gap: 8px !important;
  text-align: left !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  color: #0f172a !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
  cursor: pointer !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card span,
html body:has(.landing-workspace.active) .landing-focus-decision-card span {
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card strong,
html body:has(.landing-workspace.active) .landing-focus-decision-card strong {
  color: #0f172a !important;
  font-size: 28px !important;
  line-height: 1.08 !important;
  font-weight: 950 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card-primary strong,
html body:has(.landing-workspace.active) .landing-focus-decision-card-primary strong {
  color: #6d4dff !important;
  font-size: 52px !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card small,
html body:has(.landing-workspace.active) .landing-focus-decision-card small {
  font-size: 18px !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card em,
html body[data-active-panel="landing"] .landing-focus-decision-card b,
html body:has(.landing-workspace.active) .landing-focus-decision-card em,
html body:has(.landing-workspace.active) .landing-focus-decision-card b {
  font-style: normal !important;
  line-height: 1.25 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card em,
html body:has(.landing-workspace.active) .landing-focus-decision-card em {
  color: #5b8cff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-card b,
html body:has(.landing-workspace.active) .landing-focus-decision-card b {
  color: #64748b !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-action,
html body:has(.landing-workspace.active) .landing-focus-decision-action {
  background: linear-gradient(135deg, rgba(124, 77, 255, 0.96), rgba(91, 140, 255, 0.96)) !important;
}

html body[data-active-panel="landing"] .landing-focus-decision-action span,
html body[data-active-panel="landing"] .landing-focus-decision-action strong,
html body[data-active-panel="landing"] .landing-focus-decision-action em,
html body[data-active-panel="landing"] .landing-focus-decision-action b,
html body:has(.landing-workspace.active) .landing-focus-decision-action span,
html body:has(.landing-workspace.active) .landing-focus-decision-action strong,
html body:has(.landing-workspace.active) .landing-focus-decision-action em,
html body:has(.landing-workspace.active) .landing-focus-decision-action b {
  color: #fff !important;
}

html body[data-active-panel="landing"] .landing-primary-recommendation,
html body:has(.landing-workspace.active) .landing-primary-recommendation {
  min-height: 420px !important;
  max-height: none !important;
  height: auto !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .landing-weekly-growth,
html body:has(.landing-workspace.active) .landing-weekly-growth {
  min-height: 220px !important;
  height: auto !important;
}

@media (max-width: 1260px) {
  html body[data-active-panel="landing"] .landing-training-statusbar,
  html body:has(.landing-workspace.active) .landing-training-statusbar,
  html body[data-active-panel="landing"] .landing-focus-decision-grid,
  html body:has(.landing-workspace.active) .landing-focus-decision-grid {
    grid-template-columns: 1fr !important;
  }
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-ai-coach-panel,
html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .interview-copilot-card .interview-ai-coach-panel {
  grid-template-rows: 126px 316px minmax(216px, 1fr) !important;
  gap: 12px !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-live-score-card {
  grid-template-rows: 28px 56px minmax(0, 34px) !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-card {
  grid-template-rows: 30px minmax(0, 1fr) !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-list {
  grid-template-rows: repeat(7, 30px) !important;
  gap: 6px !important;
  align-content: start !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item {
  min-height: 30px !important;
  height: 30px !important;
  padding: 0 10px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-structure-item b {
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  font-size: 15px !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-card {
  grid-template-rows: 30px minmax(0, 1fr) 38px 18px !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html body[data-active-panel="interview"]:not(.interview-coach-collapsed) .coach-followup-list {
  overflow-y: auto !important;
  max-height: none !important;
}

html body[data-active-panel="audio"] .audio-review-standard-compare {
  display: grid !important;
  gap: 14px !important;
  padding: 16px !important;
  border: 1px solid rgba(124, 77, 255, 0.16) !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.95)) !important;
}

html body[data-active-panel="audio"] .audio-compare-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-compare-head span {
  color: #6d4dff !important;
  font-size: 13px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-compare-head strong {
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-compare-grid {
  display: grid !important;
  grid-template-columns: 1fr 1.35fr 1fr !important;
  gap: 12px !important;
}

html body[data-active-panel="audio"] .audio-compare-grid section {
  min-height: 112px !important;
  padding: 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  border-radius: 16px !important;
  background: #fff !important;
}

html body[data-active-panel="audio"] .audio-compare-grid small {
  display: block !important;
  margin-bottom: 8px !important;
  color: #64748b !important;
  font-size: 12px !important;
  font-weight: 950 !important;
}

html body[data-active-panel="audio"] .audio-compare-grid p {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.65 !important;
}

html body[data-active-panel="audio"] .audio-compare-grid b {
  color: #6d4dff !important;
}

html body[data-active-panel="audio"] .audio-compare-missing {
  border-color: rgba(239, 68, 68, 0.22) !important;
  background: rgba(254, 242, 242, 0.84) !important;
}

html body[data-active-panel="audio"] .audio-compare-missing b {
  color: #ef4444 !important;
}

/* Absolute final homepage fold lock v283. */
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-xiaowen-briefing,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-route-card,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-ai-task-center,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-hardware-focus,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-hardware-questions,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-training-heatmap,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-coach-card-bottom,
html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-special-training {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
}

html body[data-active-panel="landing"] .shell .main .landing-workspace.active .landing-home-grid > article.section-card.landing-welcome-panel {
  min-height: 170px !important;
  height: auto !important;
}

/* Absolute brand subtitle consistency v283: must stay last. */
html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-head--main,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-head--main,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand .brand-head--main,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand .brand-head--main {
  width: 100% !important;
  min-height: 118px !important;
  height: 118px !important;
  padding: 14px 12px 10px !important;
  display: grid !important;
  justify-items: center !important;
  align-content: start !important;
  gap: 6px !important;
  overflow: visible !important;
}

html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-main-logo,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-main-logo,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand .brand-main-logo,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand .brand-main-logo {
  display: block !important;
  width: 144px !important;
  max-width: 144px !important;
  height: auto !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  opacity: 1 !important;
  transform: none !important;
}

html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body[data-active-panel="landing"] .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:hover) .sidebar .brand .brand-subtitle-text,
html:not(.react-student-embedded) body .shell.sidebar-expanded:has(> .sidebar:focus-within) .sidebar .brand .brand-subtitle-text {
  display: block !important;
  width: 180px !important;
  max-width: 180px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  color: rgba(226, 232, 240, 0.84) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  white-space: normal !important;
  word-break: keep-all !important;
  overflow: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

html:not(.react-student-embedded) body .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text br,
html:not(.react-student-embedded) body[data-active-panel] .shell.sidebar-expanded .sidebar .brand .brand-subtitle-text br {
  display: block !important;
}

/* V5 IA physical EOF override. */
body[data-active-panel="landing"] #landingCustomizeHomeBtn {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 24px !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto !important;
}

body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid > article.section-card {
  width: 100% !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-self: stretch !important;
}

body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid > article.section-card.landing-v5-command-center,
body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid > article.section-card.landing-v5-ai-advice,
body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid > article.section-card.landing-v5-training-plan,
body[data-active-panel="landing"] .landing-workspace.active .landing-home-grid > article.section-card.landing-v5-job-match-section {
  min-height: 0 !important;
  height: auto !important;
}
