/* v116 · Feishu-style AI interview meeting workbench */

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-meeting-stage-grid {
  display: grid !important;
  grid-template-columns: minmax(210px, 0.72fr) minmax(0, 2.28fr) !important;
  gap: 16px !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-tile {
  position: relative !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-rows: 1fr auto !important;
  place-items: center !important;
  gap: 8px !important;
  overflow: hidden !important;
  padding: 16px !important;
  border: 1px solid rgba(91, 140, 255, 0.17) !important;
  border-radius: 18px !important;
  color: #172033 !important;
  background:
    radial-gradient(circle at 50% 18%, rgba(124, 77, 255, 0.15), transparent 42%),
    linear-gradient(145deg, #f7f9ff 0%, #edf3ff 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.82) !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-tile::after {
  content: "" !important;
  position: absolute !important;
  inset: auto -34px -62px auto !important;
  width: 150px !important;
  height: 150px !important;
  border-radius: 999px !important;
  background: rgba(91, 140, 255, 0.08) !important;
  pointer-events: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-tile > img {
  position: relative !important;
  z-index: 1 !important;
  width: 92px !important;
  height: 92px !important;
  align-self: end !important;
  object-fit: cover !important;
  object-position: center 22% !important;
  border: 4px solid rgba(255, 255, 255, 0.92) !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 32px rgba(70, 87, 140, 0.2) !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-tile > div {
  position: relative !important;
  z-index: 1 !important;
  min-width: 0 !important;
  display: grid !important;
  gap: 2px !important;
  text-align: center !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-tile > div strong {
  color: #172033 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 950 !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-tile > div small {
  color: #6b7890 !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
  font-weight: 760 !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-live {
  position: absolute !important;
  z-index: 2 !important;
  top: 12px !important;
  left: 12px !important;
  min-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 9px !important;
  color: #334155 !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  border-radius: 999px !important;
  font-size: 10px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  backdrop-filter: blur(12px) !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-live i {
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: #22c55e !important;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12) !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-dialog {
  min-width: 0 !important;
  display: grid !important;
  align-content: center !important;
  gap: 9px !important;
  padding: 4px 6px 4px 2px !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-dialog > p {
  margin: 0 !important;
  color: #6d4dff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-dialog .interview-question-card-head {
  min-height: 24px !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-dialog .interview-question-card-head span {
  font-size: 14px !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-dialog .interview-question-card-head span::before {
  display: none !important;
  content: none !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-footer {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-footer .interview-question-info-row {
  flex: 0 0 auto !important;
  display: flex !important;
  gap: 6px !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-footer .interview-question-info-row span {
  min-height: 28px !important;
  padding: 0 8px !important;
  border-radius: 9px !important;
  font-size: 10px !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-footer .interview-question-meta-compact {
  min-width: 0 !important;
  flex-wrap: nowrap !important;
  overflow: hidden !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-footer .interview-question-meta-compact span {
  min-height: 27px !important;
  padding: 0 9px !important;
  font-size: 10px !important;
  white-space: nowrap !important;
}

html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-copilot-card > .section-head h3 {
  font-size: 18px !important;
}

@media (min-width: 1180px) {
  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .shell .main.main > section.panel.active > #interviewStudio.interview-space-arena-open {
    height: calc(100dvh - 56px) !important;
    min-height: calc(100dvh - 56px) !important;
    max-height: calc(100dvh - 56px) !important;
    margin-top: 88px !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] #interviewStudio.interview-space-arena-open {
    grid-template-rows: 64px minmax(0, 1fr) calc(72px + var(--safe-bottom)) !important;
    background: #f5f7fb !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] #interviewStudio > .engineering-training-flow {
    display: none !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] #interviewCoachRoom.interview-training-statusbar {
    grid-row: 1 / 2 !important;
    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;
    display: grid !important;
    grid-template-columns: auto minmax(250px, 1fr) auto auto !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 8px 18px !important;
    overflow: hidden !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] #interviewCoachRoom .interview-training-title {
    min-width: 190px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] #interviewCoachRoom .interview-v5-modebar {
    min-width: 0 !important;
    display: flex !important;
    justify-content: center !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] #interviewCoachRoom .interview-v5-company-tabs {
    display: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] #interviewCoachRoom .interview-training-metrics {
    display: flex !important;
    align-items: center !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] #interviewCoachRoom .interview-training-metrics > span:not(:last-child) {
    display: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] #interviewCoachRoom .interview-training-metrics > span:last-child {
    min-width: 146px !important;
    min-height: 42px !important;
    padding: 5px 12px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] #interviewCoachRoom .interview-training-actions {
    flex-wrap: nowrap !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] #interviewStudio > .interview-main-dashboard {
    grid-row: 2 / 3 !important;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(188px, 0.88fr) minmax(222px, 1.12fr) !important;
    gap: 12px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 12px 16px !important;
    overflow: hidden !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .shell .main.main > section.panel.active > #interviewStudio > .interview-main-dashboard {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-template-rows: minmax(188px, 0.88fr) minmax(222px, 1.12fr) !important;
    gap: 12px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 12px 16px !important;
    overflow: hidden !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] #interviewStudio > .interview-main-dashboard > .interview-setup-card,
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-workspace-card > .section-head {
    display: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] #interviewStudio > .interview-main-dashboard > .interview-workspace-card,
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-workspace-card > .interview-arena-stack {
    display: contents !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .shell .main.main > section.panel.active > #interviewStudio > .interview-main-dashboard > .interview-workspace-card,
  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .shell .main.main > section.panel.active > #interviewStudio > .interview-main-dashboard > .interview-workspace-card > .interview-arena-stack {
    display: contents !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-workspace-card .interview-question-card {
    grid-column: 1 / 13 !important;
    grid-row: 1 / 2 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055) !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .shell .main.main > section.panel.active > #interviewStudio > .interview-main-dashboard > .interview-workspace-card .interview-question-card {
    grid-column: 1 / 13 !important;
    grid-row: 1 / 2 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 14px !important;
    overflow: hidden !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-workspace-card .interview-answer-zone {
    grid-column: 1 / 9 !important;
    grid-row: 2 / 3 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    align-content: start !important;
    overflow: hidden auto !important;
    padding: 16px 18px !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .shell .main.main > section.panel.active > #interviewStudio > .interview-main-dashboard > .interview-workspace-card .interview-answer-zone {
    grid-column: 1 / 9 !important;
    grid-row: 2 / 3 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    align-content: start !important;
    overflow: hidden auto !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-workspace-card .interview-live-transcript-card,
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-workspace-card #xiaowenLiveInterviewCoach {
    display: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-workspace-card .interview-question-feedback-card-inline {
    grid-column: 1 / 13 !important;
    grid-row: 3 / 4 !important;
    max-height: 210px !important;
    overflow: auto !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] #interviewStudio > .interview-main-dashboard > .interview-copilot-card {
    grid-column: 9 / 13 !important;
    grid-row: 2 / 3 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 16px !important;
    position: relative !important;
    inset: auto !important;
    align-self: stretch !important;
    overflow: hidden auto !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .shell .main.main > section.panel.active > #interviewStudio > .interview-main-dashboard > .interview-copilot-card {
    grid-column: 9 / 13 !important;
    grid-row: 2 / 3 !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    position: relative !important;
    inset: auto !important;
    align-self: stretch !important;
    overflow: hidden auto !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .interview-question-dialog .question-box {
    min-height: 0 !important;
    max-height: 76px !important;
    overflow: hidden auto !important;
    font-size: 20px !important;
    line-height: 1.42 !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .interview-question-dialog .interview-question-requirements {
    display: block !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .interview-question-dialog .interview-question-requirements > span,
  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .interview-question-dialog .interview-question-requirements li:nth-child(n + 5) {
    display: none !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .interview-question-dialog .interview-question-requirements ul {
    flex-wrap: nowrap !important;
    gap: 6px !important;
    overflow: hidden !important;
  }

  html:not(.react-student-embedded) body.interview-meeting-active[data-active-panel="interview"] .interview-question-dialog .interview-question-requirements li {
    min-height: 26px !important;
    padding: 0 9px !important;
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-copilot-card > .section-head {
    min-height: 36px !important;
    margin-bottom: 10px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-copilot-card .interview-coach-toggle-btn {
    display: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .coach-live-score-card {
    display: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .coach-live-score-head,
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel #copilotCoverageText,
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel #xiaowenCoachLiveCue {
    display: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .coach-completeness-main {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 12px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .coach-completeness-main > div:first-child {
    display: flex !important;
    align-items: baseline !important;
    gap: 7px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .coach-completeness-main strong {
    font-size: 26px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .coach-structure-card {
    display: block !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .coach-structure-card > .coach-panel-title,
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .coach-structure-list,
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .coach-followup-card,
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .coach-judge-card,
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-ai-coach-panel .interview-progress-stats {
    display: none !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .engineering-score-summary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .engineering-score-summary > div {
    min-height: 48px !important;
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 11px !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 12px !important;
    background: #f8fafc !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .engineering-score-summary > div span {
    color: #6d4dff !important;
    font-size: 11px !important;
    font-weight: 950 !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .engineering-score-summary > div strong {
    overflow: hidden !important;
    color: #172033 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    font-weight: 850 !important;
    text-overflow: ellipsis !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-answer-zone .interview-answer-live-card {
    min-height: 114px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-answer-zone .interview-waveform {
    min-height: 66px !important;
    height: 66px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-answer-zone .interview-answer-transcript-body {
    padding: 11px 16px 13px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-answer-zone #interviewAnswerHighlightPreview {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-bottom-actionbar {
    grid-row: 3 / 4 !important;
    border-top: 1px solid rgba(148, 163, 184, 0.2) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.05) !important;
    backdrop-filter: blur(18px) !important;
  }
}

@media (max-width: 1179px) {
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-meeting-stage-grid {
    grid-template-columns: 1fr !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-tile {
    min-height: 128px !important;
    grid-template-columns: 88px minmax(0, 1fr) !important;
    grid-template-rows: 1fr !important;
    place-items: center start !important;
    padding: 42px 16px 14px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-tile > img {
    width: 72px !important;
    height: 72px !important;
    align-self: center !important;
    border-radius: 22px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-video-tile > div {
    text-align: left !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-footer {
    display: grid !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-footer .interview-question-meta-compact {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 720px) {
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-dialog .question-box {
    font-size: 20px !important;
  }

  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-requirements li:nth-child(n + 4),
  html:not(.react-student-embedded) body[data-active-panel="interview"] .interview-question-info-row span:nth-child(-n + 2) {
    display: none !important;
  }
}
