/* ============================================================
   pages.css — 各页面专属布局
   ============================================================ */

/* ============================================================
   学习页：历史对话侧栏 + 聊天区
   ============================================================ */

/* 学习页纵向撑满主容器剩余高度 */
.page[data-page="learn"].active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.learn {
  display: flex;
  flex: 1;
  gap: var(--gap-4);
  min-height: 0;
}

/* ---------- 历史对话侧栏（占 20%） ---------- */

.learn-side {
  display: flex;
  flex-direction: column;
  width: 20%;
  min-width: 180px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.side-title {
  padding: 14px 16px 8px;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.side-list {
  flex: 1;
  padding: 0 var(--gap-2) var(--gap-2);
  overflow-y: auto;
}

.side-item {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-dim);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.15s, color 0.15s;
}

.side-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.side-item.active {
  background: var(--gold-soft);
  color: var(--gold-bright);
}

.side-empty {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- 右侧主区 ---------- */

.learn-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.chat-toolbar {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  margin-bottom: var(--gap-3);
}

/* ---------- 聊天面板 ---------- */

.chat {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.chat-log {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: var(--gap-5);
  overflow-y: auto;
}

/* ---------- 空状态：图标 + 引导语 ---------- */

.chat-empty {
  position: absolute;
  inset: 0 0 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--gap-2);
  padding: var(--gap-5);
  text-align: center;
  pointer-events: none;
}

.chat-empty[hidden] {
  display: none;
}

.chat-empty-icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--gap-1);
  color: var(--gold);
  opacity: 0.85;
}

.chat-empty-title {
  font-size: 15px;
}

.chat-empty-desc {
  max-width: 360px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-faint);
}

/* ---------- 消息 ---------- */

.msg {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

/* 用户消息：靠右、白底黑字 */
.msg-user {
  align-items: flex-end;
}

.msg-user .msg-body {
  max-width: 76%;
  padding: 10px 14px;
  border-radius: 12px 12px 3px 12px;
  background: #ffffff;
  color: #16130d;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

/* AI 消息：靠左、无气泡 */
.msg-ai {
  align-items: flex-start;
}

.msg-ai .msg-body {
  max-width: 100%;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

/* 发送失败提示 */
.msg-notice {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--red);
}

/* ---------- AI 消息内的 Markdown 排版 ---------- */

.md-p {
  margin: 0 0 10px;
}

.md-p:last-child {
  margin-bottom: 0;
}

.md-h {
  margin: 18px 0 8px;
  font-weight: 600;
  line-height: 1.4;
}

.md-h:first-child {
  margin-top: 0;
}

.md-h1 { font-size: 16px; }
.md-h2 { font-size: 15px; }
.md-h3,
.md-h4 { font-size: 14px; }

.md-list {
  margin: 6px 0 10px;
  padding-left: 20px;
}

/* reset.css 取消了列表符号，这里按列表类型分别恢复 */
ul.md-list {
  list-style: disc;
}

ol.md-list {
  list-style: decimal;
}

.md-list li {
  margin: 4px 0;
}

.md-pre {
  margin: 10px 0;
  padding: 12px 14px;
  background: #0a0a0c;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow-x: auto;
}

.md-pre code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #d9d5ca;
  white-space: pre;
}

.md-p code,
.md-list code,
.md-h code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 12.5px;
}

/* ---------- 引用：小箭头展开 ---------- */

.refs {
  margin-top: 10px;
}

.refs-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dim);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
}

.refs-toggle::-webkit-details-marker {
  display: none;
}

.refs-toggle::before {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.2px solid currentColor;
  border-bottom: 1.2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s;
}

.refs[open] .refs-toggle::before {
  transform: rotate(45deg);
}

.refs-toggle:hover {
  color: var(--gold-bright);
}

.refs-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-2);
  margin-top: var(--gap-2);
}

.ref-item {
  padding: 10px 12px;
  background: var(--bg-elevated);
  border-left: 2px solid var(--gold-line);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.ref-meta {
  margin-bottom: 4px;
  font-size: 11px;
  color: var(--text-faint);
}

.ref-snippet {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-dim);
}

/* ---------- 正在思考 ---------- */

.thinking {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
}

.thinking-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: thinking-bounce 1.2s infinite;
}

.thinking-dot:nth-child(2) { animation-delay: 0.15s; }
.thinking-dot:nth-child(3) { animation-delay: 0.3s; }

.thinking-text {
  margin-left: 4px;
}

@keyframes thinking-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* ---------- 输入区 ---------- */

.chat-composer {
  display: flex;
  gap: var(--gap-3);
  padding: var(--gap-3);
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.chat-input {
  flex: 1;
  min-height: 40px;
  max-height: 120px;
  padding: 9px var(--gap-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  font-size: 14px;
  line-height: 1.5;
  resize: none;
}

.chat-input::placeholder {
  color: var(--text-faint);
}

.chat-input:focus {
  border-color: var(--gold-line);
}

.chat-input:disabled {
  color: var(--text-faint);
  cursor: not-allowed;
}

/* ---------- 学习页响应式 ---------- */

@media (max-width: 820px) {
  .learn-side {
    display: none;
  }
}

/* ============================================================
   测评页：开始 / 答题 / 结果
   ============================================================ */

.quiz-view[hidden] {
  display: none;
}

/* ---------- 开始卡片 ---------- */

.quiz-card {
  max-width: 560px;
  margin: 0 auto;
  padding: var(--gap-6);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.field {
  margin-bottom: var(--gap-5);
}

.field-label {
  display: block;
  margin-bottom: var(--gap-2);
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

.seg {
  display: flex;
  gap: var(--gap-2);
}

.seg-item {
  flex: 1;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  font-size: 13px;
  color: var(--text-dim);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.seg-item:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.seg-item.active {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold-bright);
}

.btn-block {
  width: 100%;
}

/* 按钮内加载动画 */
.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: var(--gap-2);
  border: 2px solid rgba(23, 18, 10, 0.25);
  border-top-color: #17120a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner[hidden] {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-error {
  margin-bottom: var(--gap-4);
  font-size: 13px;
  line-height: 1.6;
  color: var(--red);
}

.form-error[hidden] {
  display: none;
}

/* ---------- 答题头部 ---------- */

.quiz-run-head {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: var(--gap-4);
  padding: var(--gap-3) 0;
  margin-bottom: var(--gap-3);
  background: var(--bg);
}

.quiz-progress {
  flex: 1;
}

.quiz-progress-text {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--text-dim);
}

.quiz-progress-bar {
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.quiz-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gold);
  transition: width 0.3s ease;
}

.quiz-timer {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold-bright);
  font-variant-numeric: tabular-nums;
}

/* ---------- 题目卡片 ---------- */

.q-card {
  padding: var(--gap-5);
  margin-bottom: var(--gap-4);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.q-head {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
  margin-bottom: var(--gap-3);
}

.q-no {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

.q-tag {
  padding: 2px 8px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 11px;
  color: var(--gold-bright);
}

.q-diff {
  border-color: var(--border-strong);
  color: var(--text-dim);
}

.q-stem {
  margin-bottom: var(--gap-4);
  font-size: 15px;
  line-height: 1.7;
}

.q-options {
  display: flex;
  flex-direction: column;
  gap: var(--gap-2);
}

.q-option {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-3);
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.q-option:hover {
  border-color: var(--border-strong);
}

.q-option.selected {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.q-key {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.q-option.selected .q-key {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.q-text {
  flex: 1;
}

.q-input {
  width: 100%;
  min-height: 92px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  font-size: 14px;
  line-height: 1.7;
  resize: vertical;
}

.q-input:focus {
  border-color: var(--gold-line);
}

.q-input::placeholder {
  color: var(--text-faint);
}

/* ---------- 答题底部 ---------- */

.quiz-run-foot {
  display: flex;
  justify-content: space-between;
  gap: var(--gap-3);
  margin: var(--gap-5) 0 var(--gap-6);
}

/* ---------- 结果：分数圆环 ---------- */

.quiz-score-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-5);
}

.ring-wrap {
  position: relative;
  width: 132px;
  height: 132px;
}

.ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 6;
}

.ring-fg {
  fill: none;
  stroke: var(--gold);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 0.8, 0.3, 1);
}

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.ring-score {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.ring-unit {
  font-size: 13px;
  color: var(--text-dim);
}

.result-stats {
  display: flex;
  gap: var(--gap-6);
}

.result-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.result-stat-value {
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.result-stat-label {
  font-size: 12px;
  color: var(--text-faint);
}

/* ---------- 结果：逐题解析 ---------- */

.result-q {
  margin-bottom: var(--gap-2);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.result-q-head {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  padding: 14px var(--gap-4);
  cursor: pointer;
  list-style: none;
}

.result-q-head::-webkit-details-marker {
  display: none;
}

.result-q-head::after {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.2px solid var(--text-dim);
  border-bottom: 1.2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform 0.15s;
}

.result-q[open] .result-q-head::after {
  transform: rotate(-135deg);
}

.result-q-no {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

.result-q-stem {
  flex: 1;
  overflow: hidden;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.result-q-score {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
}

.result-q-score.ok { color: var(--green); }
.result-q-score.bad { color: var(--red); }

.result-q-body {
  padding: var(--gap-3) var(--gap-4) var(--gap-4);
  border-top: 1px solid var(--border);
}

.answer-row {
  display: flex;
  gap: var(--gap-3);
  margin-bottom: var(--gap-2);
  font-size: 13px;
  line-height: 1.7;
}

.answer-row:last-child {
  margin-bottom: 0;
}

.answer-label {
  flex-shrink: 0;
  width: 64px;
  color: var(--text-faint);
}

.answer-value {
  flex: 1;
  color: var(--text-dim);
  word-break: break-word;
}

.answer-value.strong {
  color: var(--text);
}

/* ============================================================
   进度页
   ============================================================ */

.progress-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: var(--gap-4);
  margin-top: var(--gap-4);
}

.progress-panel {
  min-width: 0;
  padding: var(--gap-5);
}

.panel-hint {
  padding: var(--gap-3) 0;
  font-size: 13px;
  color: var(--text-faint);
}

/* ---------- 雷达图 ---------- */

.radar-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 268px;
  padding: var(--gap-2) 0;
}

.radar {
  width: 100%;
  max-width: 320px;
  height: auto;
  overflow: visible;
}

.radar-grid {
  fill: none;
  stroke: var(--border);
  stroke-width: 1;
}

.radar-axis {
  stroke: var(--border);
  stroke-width: 1;
}

.radar-area {
  fill: rgba(212, 175, 55, 0.16);
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transform-box: view-box;
  transform-origin: 150px 150px;
  animation: radar-in 0.55s ease-out;
}

.radar-label {
  fill: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 10px;
}

@keyframes radar-in {
  from {
    transform: scale(0.2);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- 知识点列表 ---------- */

.kp-list {
  display: flex;
  flex-direction: column;
  gap: var(--gap-4);
  max-height: 268px;
  padding-right: var(--gap-2);
  overflow-y: auto;
}

.kp-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-2);
}

.kp-name {
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.kp-level {
  flex-shrink: 0;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
}

.kp-level.mastered { color: var(--green); background: rgba(56, 211, 159, 0.1); }
.kp-level.improving { color: var(--gold-bright); background: var(--gold-soft); }
.kp-level.weak { color: var(--red); background: rgba(240, 82, 95, 0.1); }
.kp-level.untested { color: var(--text-faint); background: rgba(255, 255, 255, 0.04); }

.kp-track {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
}

.kp-bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.kp-bar span {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.kp-row.is-mastered .kp-bar span { background: var(--green); }
.kp-row.is-weak .kp-bar span { background: var(--red); }

.kp-accuracy {
  min-width: 34px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  text-align: right;
}

/* ---------- 资料笔记 ---------- */

.doc-notes {
  display: flex;
  flex-direction: column;
  gap: var(--gap-3);
}

.doc-note {
  padding: var(--gap-4);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.doc-note-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap-3);
  margin-bottom: var(--gap-3);
}

.doc-name {
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.note-status {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-faint);
}

.note-input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  font-size: 13px;
  line-height: 1.75;
  resize: none;
  overflow-y: auto;
  transition: border-color 0.15s;
}

.note-input:focus {
  border-color: var(--gold-line);
}

.note-input::placeholder {
  color: var(--text-faint);
}

.note-foot {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
  margin-top: var(--gap-2);
}

.note-range {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
  font-size: 11px;
  color: var(--text-faint);
}

.note-range input[type="range"] {
  width: 120px;
  height: 3px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ---------- 薄弱知识点 ---------- */

.weak-panel {
  padding: 0 var(--gap-4);
}

.weak-item {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.weak-item:last-child {
  border-bottom: 0;
}

.weak-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.weak-name {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.weak-value {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--red);
}

@media (max-width: 860px) {
  .progress-split {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   报告页：周报版式
   ============================================================ */

.report-bar {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  flex-wrap: wrap;
  margin-bottom: var(--gap-4);
}

.seg-auto {
  display: inline-flex;
}

.seg-auto .seg-item {
  flex: 0 0 auto;
  padding: 0 var(--gap-4);
}

.date-range {
  display: flex;
  align-items: center;
  gap: var(--gap-2);
}

.date-range[hidden] {
  display: none;
}

.date-input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
}

.date-input:focus {
  border-color: var(--gold-line);
}

.date-input::-webkit-calendar-picker-indicator {
  filter: invert(0.65);
  cursor: pointer;
}

.date-sep {
  font-size: 12px;
  color: var(--text-faint);
}

.report-sheet {
  min-height: 240px;
  padding: 28px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.report-head {
  margin-bottom: var(--gap-4);
  padding-bottom: var(--gap-4);
  border-bottom: 1px solid var(--border);
}

.report-title {
  font-size: 17px;
  font-weight: 600;
}

.report-range {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

.report-body {
  font-size: 14px;
  line-height: 1.9;
}

/* ---------- 历史报告 ---------- */

.report-history {
  display: flex;
  flex-direction: column;
  gap: var(--gap-2);
}

.report-item {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.report-item-head {
  display: flex;
  align-items: center;
  gap: var(--gap-3);
  padding: 14px var(--gap-4);
  cursor: pointer;
  list-style: none;
}

.report-item-head::-webkit-details-marker {
  display: none;
}

.report-item-head::after {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.2px solid var(--text-dim);
  border-bottom: 1.2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform 0.15s;
}

.report-item[open] .report-item-head::after {
  transform: rotate(-135deg);
}

.report-item-title {
  flex: 1;
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.report-item-meta {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
}

.report-item-body {
  padding: var(--gap-4);
  border-top: 1px solid var(--border);
  font-size: 13px;
  line-height: 1.85;
}
