/* supanova-aligned tokens: dark base + single warm-amber accent + Pretendard.
   기존 클래스 구조는 그대로 두고 색·폰트만 통일해서 2차에 안 만진 페이지도
   톤이 어긋나지 않게 한다. */
:root {
  --bg: #0a0a0a;            /* zinc-950 인근, supanova "no pure black" */
  --panel: #18181b;         /* zinc-900 */
  --panel-2: #27272a;       /* zinc-800 */
  --border: #3f3f46;        /* zinc-700 */
  --text: #fafafa;          /* zinc-50 */
  --muted: #a1a1aa;         /* zinc-400 */
  --accent: #d97706;        /* warm amber, saturation < 80% */
  --accent-2: #b45309;      /* amber-700, hover */
  --danger: #f43f5e;        /* rose-500 */
  --ok: #10b981;            /* emerald-500 */
  --warn: #f59e0b;          /* amber-500 */
  --err: #f43f5e;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--text);
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 15px; line-height: 1.55; word-break: keep-all; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar { display: flex; align-items: center; padding: 14px 28px;
  background: var(--panel); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.topbar .brand { font-weight: 700; font-size: 18px; color: var(--text); }
.topbar .spacer { flex: 1; }

.container { max-width: 1100px; margin: 0 auto; padding: 28px; }

h1 { font-size: 26px; margin: 0 0 18px; }
h2 { font-size: 20px; margin: 28px 0 12px; }
h3 { font-size: 16px; margin: 0 0 10px; color: var(--muted); }

.btn { display: inline-block; padding: 8px 14px; border: 1px solid var(--border);
  background: var(--panel-2); color: var(--text); border-radius: 8px; cursor: pointer;
  font-size: 14px; text-decoration: none; }
.btn:hover { border-color: var(--accent); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #0a0a0a; font-weight: 600; }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: var(--danger); color: white; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px; }
.card { display: block; background: var(--panel); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; transition: border-color .15s; }
.card:hover { border-color: var(--accent); text-decoration: none; }
.card-head { display: flex; justify-content: space-between; align-items: center; }
.card h3 { color: var(--text); margin: 0; font-size: 17px; }
.card .role { color: var(--accent); font-size: 13px; margin: 4px 0 8px; }
.card .persona { color: var(--muted); font-size: 13px; min-height: 38px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

.tag { font-size: 11px; padding: 2px 8px; border-radius: 999px;
  background: var(--panel-2); color: var(--muted); border: 1px solid var(--border); }
.tag.tool { color: var(--accent); }

.badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--panel-2);
  border: 1px solid var(--border); }
.badge.active, .badge.done { color: var(--ok); border-color: var(--ok); }
.badge.paused { color: var(--warn); border-color: var(--warn); }
.badge.running { color: var(--accent); border-color: var(--accent); }
.badge.error { color: var(--err); border-color: var(--err); }
.badge.pending { color: var(--muted); }

.empty { text-align: center; padding: 60px 20px; background: var(--panel); border-radius: 12px;
  border: 1px dashed var(--border); }

.emp-form { display: flex; flex-direction: column; gap: 14px; max-width: 800px; }
.emp-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.emp-form input, .emp-form textarea, .emp-form select {
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; color: var(--text); font-size: 14px; font-family: inherit; }
.emp-form input:focus, .emp-form textarea:focus, .emp-form select:focus {
  outline: none; border-color: var(--accent); }
.emp-form textarea { resize: vertical; }
.emp-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.emp-form fieldset { border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.emp-form legend { font-size: 13px; color: var(--muted); padding: 0 6px; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 6px; }
.tool-chk { flex-direction: row !important; align-items: center; gap: 6px; color: var(--text); cursor: pointer; }
.tool-chk input { width: auto; }
.actions { display: flex; gap: 10px; margin-top: 8px; }

.emp-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.emp-header .role { color: var(--accent); margin: 0; }
.header-actions { display: flex; gap: 8px; }
.header-actions form { margin: 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } .emp-form .row { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.panel.error { border-color: var(--err); }
.kv { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.kv li { padding: 4px 0; border-bottom: 1px solid var(--border); }
.kv li:last-child { border-bottom: none; }
.kv b { color: var(--muted); font-weight: 500; margin-right: 6px; }
code { background: var(--panel-2); padding: 1px 6px; border-radius: 4px; font-size: 12px; }

pre.md { white-space: pre-wrap; word-wrap: break-word; font-family: inherit;
  font-size: 14px; line-height: 1.55; margin: 0; }
pre.md.output { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px;
  max-height: 600px; overflow: auto; background: var(--panel-2); padding: 12px; border-radius: 8px; }

.task-section { margin-top: 28px; }
.task-section textarea { width: 100%; background: var(--panel); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px; color: var(--text); font-family: inherit; font-size: 14px;
  margin-bottom: 10px; }

table.runs { width: 100%; border-collapse: collapse; background: var(--panel); border-radius: 8px; overflow: hidden; }
table.runs th, table.runs td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--border); font-size: 13px; }
table.runs th { background: var(--panel-2); color: var(--muted); font-weight: 500; }
.truncate { max-width: 400px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.muted { color: var(--muted); font-size: 12px; }
.back-link { display: inline-block; margin-bottom: 12px; color: var(--muted); }

.nav-link { margin-left: 16px; color: var(--muted); font-size: 14px; }
.nav-link:hover { color: var(--text); text-decoration: none; }

/* Office view */
.office-view { display: grid; grid-template-columns: 1fr 280px; gap: 18px; }
.office-view .office-head { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.office-view #game-container { background: #0f1115; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; line-height: 0; }
.office-view #game-container canvas { display: block; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.legend .dot.working { background: #4ade80; }
.legend .dot.walking { background: #7c9cff; }
.legend .dot.chatting { background: #fbbf24; }
.legend .dot.idle { background: #8b919d; }

.office-side { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 14px; align-self: start; }
.office-side h3 { color: var(--text); margin: 0 0 10px; font-size: 14px; }
.emp-mini { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.emp-mini a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; color: var(--text); }
.emp-mini a:hover { background: var(--panel-2); text-decoration: none; }
.emp-mini .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.emp-mini .role { color: var(--muted); font-size: 11px; margin-left: auto; }
.hint { margin-top: 12px; font-size: 11px; }

@media (max-width: 900px) {
  .office-view { grid-template-columns: 1fr; }
  .office-view #game-container { overflow-x: auto; }
}

/* Auth */
.auth-card { max-width: 380px; margin: 60px auto; background: var(--panel);
  border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.auth-card h1 { font-size: 22px; margin: 0 0 8px; }
.auth-card .muted { margin: 0 0 16px; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.auth-form input { background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; color: var(--text); font-size: 14px; font-family: inherit; }
.auth-form input:focus { outline: none; border-color: var(--accent); }
.auth-form button { margin-top: 8px; }

.alert { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: 14px;
  background: var(--panel-2); border: 1px solid var(--border); }
.alert.error { color: var(--err); border-color: var(--err); }
.alert.ok { color: var(--ok); border-color: var(--ok); }

/* User chip in topbar */
.user-chip { color: var(--text); font-size: 13px; margin-right: 12px; display: inline-flex; align-items: center; gap: 6px; }
.role-badge { font-size: 10px; padding: 1px 7px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); color: var(--muted); }
.role-badge.admin { color: var(--accent); border-color: var(--accent); }
.btn-link { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; padding: 4px 8px; margin-right: 8px; font-family: inherit; }
.btn-link:hover { color: var(--text); }
.inline { display: inline; margin: 0; }

/* Users management */
.user-form-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.user-form-row input, .user-form-row select {
  background: var(--panel-2); border: 1px solid var(--border); border-radius: 8px;
  padding: 8px 10px; color: var(--text); font-size: 13px; font-family: inherit; }
.user-form-row input { flex: 1; min-width: 140px; }
.users-table select { background: var(--panel-2); border: 1px solid var(--border); border-radius: 6px;
  color: var(--text); padding: 4px 8px; font-size: 12px; }
.users-table .row-actions { display: flex; gap: 8px; align-items: center; }
.users-table details { display: inline; }
.users-table details summary { cursor: pointer; color: var(--muted); font-size: 12px; }
.inline-pw { display: inline-flex; gap: 6px; align-items: center; margin-left: 8px; }
.inline-pw input { padding: 4px 8px; font-size: 12px; background: var(--panel-2); border: 1px solid var(--border); border-radius: 6px; color: var(--text); }

/* ---------- Meetings (B안) ---------- */
.participants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.6rem;
  margin-top: 0.6rem;
}
.participant-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  background: var(--panel);
}
.participant-card:has(input[type="checkbox"]:checked) {
  border-color: var(--accent);
  background: var(--panel-2);
}
.participant-info { display: flex; flex-direction: column; flex: 1; }
.participant-info small { color: var(--muted); }
.lead-radio { display: flex; align-items: center; gap: 0.2rem; font-size: 0.8rem; color: var(--muted); }

.meeting-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--panel-2);
  border-radius: 8px;
  margin: 1rem 0;
  font-size: 0.92rem;
}
.transcript { margin-top: 1rem; }
.msg {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.6rem;
  background: var(--panel);
}
.msg-user { background: var(--panel-2); border-color: var(--accent); }
.msg-emp { background: var(--panel); }
.msg-header {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.msg-body { white-space: pre-wrap; line-height: 1.55; }

.tag {
  font-size: 0.72rem;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--accent);
  font-weight: 500;
  border: 1px solid var(--border);
}
.tag-FINAL { background: var(--panel-2); color: var(--ok); border-color: var(--ok); }
.tag-질문강연 { background: var(--panel-2); color: var(--warn); border-color: var(--warn); }

.badge {
  font-size: 0.78rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-weight: 500;
}
.badge.active { background: var(--panel-2); color: var(--ok); border: 1px solid var(--ok); }
.badge.done { background: var(--panel-2); color: var(--accent); border: 1px solid var(--accent); }
.badge.muted { background: var(--panel-2); color: var(--muted); border: 1px solid var(--border); }
.badge.error { background: var(--panel-2); color: var(--err); border: 1px solid var(--err); }

.chip {
  display: inline-block;
  background: var(--panel-2);
  color: var(--accent);
  padding: 0.1rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  margin-right: 0.25rem;
  border: 1px solid var(--border);
}

.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 0.55rem 0.7rem; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.93rem; }
.data-table th { background: var(--panel-2); font-weight: 600; color: var(--muted); }

.page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.btn.danger { background: var(--panel-2); color: var(--danger); border-color: var(--danger); }
.btn.danger:hover { background: var(--danger); color: var(--text); }
.inline-label { display: flex; align-items: center; gap: 0.6rem; }
.inline-label input[type="number"] { width: 80px; }

/* ---------- Meeting panel inside /office ---------- */
.meeting-panel {
  grid-column: 1 / -1;
  background: var(--panel, #ffffff);
  border: 1px solid var(--border, #e4e7ec);
  border-radius: 12px;
  padding: 16px;
  margin-top: 12px;
}
.meeting-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}
.meeting-panel-header h2 { margin: 0; font-size: 16px; }
.meeting-panel-header #mp-controls { display: flex; gap: 6px; }

.meeting-panel .transcript {
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px;
  background: var(--bg);
  margin: 10px 0;
}
.meeting-panel .meeting-meta {
  font-size: 0.88rem;
  padding: 8px 10px;
  background: var(--panel-2);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.say-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.say-form input[type="text"] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.95rem;
  background: var(--panel);
  color: var(--text);
}
.say-form input:disabled { opacity: 0.6; }

.form-compact label { display: block; margin-bottom: 8px; }
.form-compact label > span { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 3px; }
.form-compact input[type="text"], .form-compact textarea {
  width: 100%; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 0.95rem;
  background: var(--panel); color: var(--text);
}
.form-compact fieldset { border: 1px solid var(--border); border-radius: 6px; padding: 10px; margin: 10px 0; }
.form-compact legend { font-size: 0.85rem; color: var(--muted); padding: 0 6px; }
.form-compact .form-actions { display: flex; gap: 8px; margin-top: 10px; }

/* ---------- Trait slots (캐릭터 슬롯) ---------- */
.traits-fs {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 12px 0;
  background: var(--panel);
}
.traits-fs legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  padding: 0 8px;
  color: var(--text);
}
.traits-fs .preset-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: normal;
  font-size: 12px;
  color: var(--muted);
}
.traits-fs .preset-control select {
  min-width: 280px;
  padding: 3px 6px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  background: var(--panel-2);
  color: var(--text);
}
.traits-fs .preset-control .btn {
  padding: 3px 10px;
  font-size: 12px;
}
.traits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.trait-slot {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.trait-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.trait-slot input {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  background: var(--panel-2);
  color: var(--text);
}
.trait-slot input:focus {
  border-color: var(--accent);
  outline: none;
}

/* ---------- Employee detail: traits display + vault + refs ---------- */
.traits-display { list-style: none; padding: 0; margin: 0; }
.traits-display li { display: grid; grid-template-columns: 80px 1fr; gap: 8px; padding: 4px 0; font-size: 13px; }
.traits-display li b { color: var(--muted); font-weight: 500; font-size: 12px; }
.traits-display li span { color: var(--text); }

.vault-section, .refs-section { margin-top: 16px; padding: 14px 16px; }
.vault-section h2, .refs-section h2 { font-size: 15px; margin: 0 0 8px; }
.vault-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vault-links code { font-size: 12px; color: var(--muted); }

.upload-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: var(--panel-2);
  border-radius: 6px;
  margin: 10px 0;
  flex-wrap: wrap;
}
.upload-form input[type="file"] { flex: 1; min-width: 200px; }

.refs-list { list-style: none; padding: 0; margin: 8px 0 0; }
.refs-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px;
  margin-bottom: 4px; background: var(--panel);
}
.refs-list .ref-name { flex: 1; font-family: monospace; font-size: 13px; }
.btn-link.danger { color: var(--danger); background: none; border: none; cursor: pointer; padding: 2px 6px; font-size: 12px; }
.btn-link.danger:hover { text-decoration: underline; }

/* ---------- Action items ---------- */
.action-items-section {
  margin: 20px 0;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.ai-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ai-header h2 { margin: 0; font-size: 17px; }
.ai-header .inline { display: inline; }

.action-items-list { list-style: none; padding: 0; margin: 0; }
.ai-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: var(--panel-2);
}
.ai-card.status-pending { border-left: 4px solid var(--warn); }
.ai-card.status-approved { border-left: 4px solid var(--accent); background: var(--panel); }
.ai-card.status-done { border-left: 4px solid var(--ok); background: var(--panel); }
.ai-card.status-rejected { border-left: 4px solid var(--muted); opacity: 0.7; }
.ai-card.status-error { border-left: 4px solid var(--err); background: var(--panel); }

.ai-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--muted);
}

.ai-form { display: flex; flex-direction: column; gap: 8px; }
.ai-form select {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  max-width: 300px;
  background: var(--panel);
  color: var(--text);
}
.ai-form textarea {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
  background: var(--panel);
  color: var(--text);
}
.ai-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.ai-actions .btn { padding: 5px 10px; font-size: 13px; }

.ai-readonly strong { display: block; font-size: 13px; color: var(--text); margin-bottom: 4px; }
.ai-readonly p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }

/* ===== Code-mode (git branch) action items ===== */
.ai-card.status-in_progress { border-left: 4px solid var(--accent); background: var(--panel); }
.ai-card.status-awaiting_review { border-left: 4px solid #8b5cf6; background: var(--panel); }
.ai-card.status-merged { border-left: 4px solid var(--ok); background: var(--panel); }
.ai-card.status-discarded { border-left: 4px solid var(--muted); opacity: 0.7; }
.ai-card.status-no_changes { border-left: 4px solid var(--border); background: var(--panel); }

.ai-kind {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  margin-left: 6px;
}
.kind-badge-code { background: var(--panel-2); color: #8b5cf6; border: 1px solid var(--border); }
.kind-badge-note { background: var(--panel-2); color: var(--warn); border: 1px solid var(--border); }

.ai-branch-info {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 6px;
}
.ai-branch-info code {
  background: var(--panel-2);
  padding: 1px 4px;
  border-radius: 3px;
  color: var(--text);
}

/* Diff modal */
.diff-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.diff-modal-inner {
  background: var(--panel);
  border-radius: 8px;
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--border);
}
.diff-modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.diff-stat {
  margin: 0;
  padding: 8px 16px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, monospace;
  color: var(--muted);
  max-height: 120px;
  overflow-y: auto;
}
.diff-body {
  margin: 0;
  padding: 12px 16px;
  background: #0f172a;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre;
  overflow: auto;
  flex: 1;
  border-radius: 0 0 8px 8px;
}
