/* 云息AI对练舱 - Ant Design Pro 风格 UI
 * 设计令牌：主色 #1677ff / 辅助 #fa8c16 / 成功 #52c41a / 警告 #faad14 / 危险 #ff4d4f
 * 颜色全部由 :root 变量统一定义与派生，禁止散落硬编码。
 */
:root {
  /* 统一配色体系（Ant Design 令牌） */
  --bg: #f5f5f5;
  --bg-rgb: 245, 245, 245;
  --card: #ffffff;
  --card-rgb: 255, 255, 255;
  --text: rgba(0, 0, 0, 0.88);
  --text-rgb: 0, 0, 0;
  --muted: rgba(0, 0, 0, 0.65);
  --muted-rgb: 0, 0, 0;
  --muted-2: rgba(0, 0, 0, 0.45);
  --muted-2-rgb: 0, 0, 0;
  --primary: #1677ff;
  --primary-rgb: 22, 119, 255;
  --primary-hover: #4096ff;
  --primary-active: #0958d9;
  --accent: #fa8c16;
  --accent-rgb: 250, 140, 22;
  --accent-hover: #ffa940;
  --primary-2: #0958d9;
  --primary-2-rgb: 9, 88, 217;
  --danger: #ff4d4f;
  --danger-rgb: 255, 77, 79;
  --danger-hover: #ff7875;
  --warn: #faad14;
  --warn-rgb: 250, 173, 20;
  --success: #52c41a;
  --success-rgb: 82, 196, 26;
  --border: #d9d9d9;
  --border-rgb: 217, 217, 217;
  --border-secondary: #f0f0f0;
  --on-primary: #ffffff;
  --shadow-rgb: 0, 0, 0;
  --shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 6px 16px -8px rgba(0, 0, 0, 0.08), 0 9px 28px 0 rgba(0, 0, 0, 0.05), 0 12px 48px 16px rgba(0, 0, 0, 0.03);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-xs: 4px;
  --control-height: 32px;
  --control-height-lg: 40px;
  --space: 12px;
  --motion-ease: cubic-bezier(0.645, 0.045, 0.355, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--primary-hover);
}
button,
input,
textarea,
select {
  font-family: inherit;
}
button {
  -webkit-tap-highlight-color: transparent;
}

.app {
  max-width: 980px;
  margin: 0 auto;
  min-height: 100%;
  padding: 16px;
  padding-bottom: 90px;
}

/* 顶部导航栏：Ant Design 风格渐变 */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(135deg, #1677ff 0%, #0958d9 100%);
  border-bottom: none;
  margin: -16px -16px 16px;
  padding: 10px 14px;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.2);
}
.topbar-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
}
.topbar-back {
  flex: none;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-left: -4px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background var(--motion-ease) 0.2s;
}
.topbar-back:hover {
  background: rgba(255, 255, 255, 0.18);
}
.topbar-back:active {
  transform: scale(0.95);
}
.topbar-back svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
}
.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
  max-width: 62%;
  min-width: 0;
  pointer-events: none;
}
.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background-image: url("../images/company-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.brand-title {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-size: 15px;
}
.brand-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.top-actions {
  flex: none;
  z-index: 1;
  margin-left: auto;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.topbar .top-actions .btn {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.topbar .top-actions .btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

/* ===== 卡片（Ant Design 风格） ===== */
.card {
  background: var(--card);
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad {
  padding: 16px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 860px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== 按钮（Ant Design 5 类型：primary / default / dashed / text / link） ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--control-height);
  padding: 4px 15px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s var(--motion-ease);
  user-select: none;
  white-space: nowrap;
  outline: none;
}
.btn:focus-visible {
  outline: 2px solid rgba(var(--primary-rgb), 0.2);
  outline-offset: 1px;
}
.btn:hover {
  color: var(--primary-hover);
  border-color: var(--primary-hover);
}
.btn:active {
  color: var(--primary-active);
  border-color: var(--primary-active);
}
.btn.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 2px 0 rgba(var(--primary-rgb), 0.06);
}
.btn.primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
}
.btn.primary:active {
  background: var(--primary-active);
  border-color: var(--primary-active);
}
.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}
.btn.ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.btn.danger {
  background: #fff;
  border-color: #ffccc7;
  color: var(--danger);
}
.btn.danger:hover {
  background: #fff2f0;
  border-color: var(--danger-hover);
  color: var(--danger-hover);
}
.btn.small {
  height: 24px;
  padding: 0 7px;
  font-size: 12px;
  border-radius: var(--radius-xs);
}
.btn.block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ===== 表单控件 ===== */
.input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 11px;
  outline: none;
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5714285714285714;
  transition: all 0.2s var(--motion-ease);
}
textarea {
  resize: none;
  min-height: 84px;
  padding: 8px 11px;
}
.input:focus,
textarea:focus {
  border-color: var(--primary-hover);
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1);
}
.input:hover,
textarea:hover {
  border-color: var(--primary-hover);
}

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding-right: 30px;
  cursor: pointer;
}

.help {
  font-size: 12px;
  color: var(--muted-2);
  line-height: 1.5;
}
.kpi {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== Pill / Tag 标签 ===== */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  height: 24px;
  background: #e6f4ff;
  border: 1px solid #91caff;
  color: var(--primary);
  border-radius: var(--radius-xs);
  font-size: 12px;
  font-weight: 400;
  line-height: 24px;
}
.pill.gray {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border-secondary);
  color: var(--muted);
}

.divider {
  height: 1px;
  background: var(--border-secondary);
  margin: 16px 0;
}

/* ===== 对话区域 ===== */
.chat-layout .chat-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.ai-role-card {
  flex-shrink: 0;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-secondary);
  background: var(--card);
}
.ai-role-card-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  line-height: 1.5714285714285714;
  font-size: 14px;
}
.ai-role-card-prefix {
  color: var(--muted);
  font-weight: 600;
}
.ai-role-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  line-height: 20px;
}
.ai-role-card-tag.ai-role-tag-boss {
  background: #fff2f0;
  border-color: #ffccc7;
  color: var(--danger);
}
.ai-role-card-tag.ai-role-tag-sales {
  background: #e6f4ff;
  border-color: #91caff;
  color: var(--primary);
}
.ai-role-card-tag.ai-role-tag-procurement {
  background: #fff7e6;
  border-color: #ffd591;
  color: #d46b08;
}
.ai-role-card-tag.ai-role-tag-unknown {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border-secondary);
  color: var(--muted);
}

.sales-stage-panel {
  flex-shrink: 0;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-secondary);
  background: var(--card);
  box-shadow: var(--shadow);
}
.sales-stage-panel-head {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.sales-stage-dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.5;
}
.sales-stage-dl dt {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.sales-stage-dl dd {
  margin: 0;
  font-weight: 500;
  color: var(--text);
  word-break: break-word;
}

.exam-stage-report-full .exam-stage-report-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 6px;
}
.exam-stage-report-full .exam-stage-report-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ===== 对话气泡 ===== */
.chat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px 2px;
}
.msg {
  display: flex;
  gap: 10px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--border-secondary);
  background: var(--card);
}
.bubble {
  max-width: 78%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-secondary);
  background: var(--card);
  line-height: 1.5714285714285714;
  font-size: 14px;
  white-space: pre-wrap;
  word-break: break-word;
  position: relative;
}
.msg.user {
  justify-content: flex-end;
}
.msg.user .bubble {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}
.msg.user .avatar {
  background: #e6f4ff;
  border-color: #91caff;
}
.msg.ai .avatar {
  background: #e6f4ff;
  border-color: #91caff;
}

.bubble-generating {
  color: var(--muted-2);
  font-style: italic;
  animation: ai-generating-blink 1.2s ease-in-out infinite;
}
@keyframes ai-generating-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.meta {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-secondary);
  background: var(--card);
  color: var(--muted);
  line-height: 20px;
}
.tag.good {
  border-color: #b7eb8f;
  background: #f6ffed;
  color: var(--success);
}
.tag.warn {
  border-color: #ffe58f;
  background: #fffbe6;
  color: #d48806;
}
.tag.bad {
  border-color: #ffccc7;
  background: #fff2f0;
  color: var(--danger);
}

/* ===== 底部输入栏 ===== */
.bottombar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--border-secondary);
  backdrop-filter: blur(10px);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
}
.bottombar-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.bottombar textarea {
  flex: 1;
  min-height: 36px;
  max-height: 120px;
}
.bottombar .right {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* 图标化底部操作栏 */
.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-secondary);
  background: var(--card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s var(--motion-ease);
}
.icon-btn:active {
  transform: scale(0.95);
}
.icon-btn:hover {
  border-color: var(--primary-hover);
  color: var(--primary);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
}
.icon-btn.danger svg {
  stroke: var(--danger);
}
.icon-btn.danger:hover {
  border-color: #ffccc7;
  background: #fff2f0;
}

.send-fab {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.2);
}
.send-fab svg {
  stroke: #fff;
}
.icon-btn[aria-pressed="true"] {
  background: var(--primary);
  border-color: var(--primary);
}
.icon-btn[aria-pressed="true"] svg {
  stroke: #fff;
}

.wxbar-inner {
  gap: 8px;
}
.wx-icon svg {
  stroke: var(--primary);
}
.wx-icon.danger svg {
  stroke: var(--danger);
}
.wx-input {
  flex: 1;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.wx-text {
  min-height: 36px;
  max-height: 110px;
  height: 36px;
  overflow-y: hidden;
  resize: none;
  box-sizing: border-box;
  line-height: 22px;
  padding: 6px 11px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 14px;
}
.wx-hold {
  display: none;
  width: 100%;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-secondary);
  background: var(--card);
  color: var(--muted);
  font-weight: 500;
}
.wxbar.voice-on .wx-text {
  display: none;
}
.wxbar.voice-on .wx-hold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wx-ic {
  display: none;
}
.wxbar:not(.voice-on) .wx-ic-mic {
  display: block;
}
.wxbar.voice-on .wx-ic-kb {
  display: block;
}

.wx-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tts-rate-select {
  width: auto;
  min-width: 0;
  flex: 0 0 auto;
  max-width: 88px;
  height: 36px;
  padding: 0 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.wx-send {
  display: none;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  background: var(--primary);
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s var(--motion-ease);
}
.wx-send:active {
  transform: scale(0.96);
}
.wx-send:hover {
  background: var(--primary-hover);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.15);
}

.wx-icon svg {
  width: 20px;
  height: 20px;
}

.section-title {
  font-weight: 600;
  letter-spacing: 0.2px;
}

.section-title.practice-feedback-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 10px;
  flex-wrap: wrap;
}

.practice-settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 520px) {
  .practice-settings-backdrop {
    align-items: center;
  }
}
.practice-settings-backdrop[hidden] {
  display: none !important;
  pointer-events: none;
}
.practice-settings-sheet {
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow: auto;
}
.practice-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px 12px;
}
.practice-settings-head-main {
  min-width: 0;
  flex: 1;
}
.practice-settings-sheet-close {
  flex-shrink: 0;
  margin: -4px -4px 0 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--muted-2);
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
}
.practice-settings-sheet-close:hover {
  color: var(--text);
  border-color: var(--primary-hover);
  background: rgba(var(--primary-rgb), 0.06);
}
.practice-settings-sheet-close:active {
  transform: scale(0.95);
}

.subtitle {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5714285714285714;
}

.notice {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #ffe58f;
  background: #fffbe6;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.radar-wrap {
  width: 100%;
  display: flex;
  gap: 12px;
  flex-direction: column;
}
canvas {
  max-width: 100%;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: 92vw;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
}

body:not(.manage-body) {
  font-family: var(--font);
}

:where(body:not(.manage-body)) * {
  font-family: inherit;
}

body:not(.manage-body) .card,
body:not(.manage-body) .panel,
body:not(.manage-body) .content-box,
body:not(.manage-body) .module-box {
  background: #ffffff;
  border: 1px solid var(--border-secondary);
  border-radius: var(--radius);
}

/* ===== 问答教练 AI 回复轻量 Markdown 渲染 ===== */
.bubble .qa-md-h {
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  margin: 10px 0 4px;
  line-height: 1.5;
}
.bubble .qa-md-h:first-child {
  margin-top: 0;
}
.bubble .qa-md-p {
  margin: 4px 0;
  line-height: 1.7;
}
.bubble .qa-md-li {
  margin: 3px 0 3px 4px;
  padding-left: 14px;
  position: relative;
  line-height: 1.7;
}
.bubble .qa-md-li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.bubble .qa-md-p strong,
.bubble .qa-md-li strong,
.bubble .qa-md-h strong {
  font-weight: 600;
}
.bubble .qa-md-p code,
.bubble .qa-md-li code {
  background: rgba(var(--primary-rgb), 0.08);
  border-radius: var(--radius-xs);
  padding: 1px 5px;
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 12.5px;
}

/* ===== 情景模拟 / 销售考核 完成弹窗 ===== */
.session-complete-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  animation: scFadeIn 0.2s ease-out;
}
.session-complete-card {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: scPopIn 0.2s var(--motion-ease);
}
.session-complete-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
  box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}
.session-complete-icon svg {
  width: 28px;
  height: 28px;
}
.session-complete-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.session-complete-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 24px;
}
.session-complete-actions {
  display: flex;
  gap: 8px;
}
.session-complete-actions .btn {
  flex: 1;
}
@keyframes scFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scPopIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== 报告列表页标签 ===== */
.report-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.report-tab {
  flex-shrink: 0;
  padding: 4px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-secondary);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s var(--motion-ease);
  white-space: nowrap;
}
.report-tab:hover {
  color: var(--primary);
  border-color: var(--primary-hover);
}
.report-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  font-weight: 500;
}
