/* casefiles.css — CASE FILES dossiers */
.cf-body, .cf-app-body {
  display: flex;
  font-family: var(--mono, monospace);
  height: 100%;
  min-height: 260px;
}
.cf-app-body { flex-direction: column; }

.cf-drawer {
  display: flex;
  flex-direction: column;
  flex: 0 0 140px;
  border-right: 1px solid var(--green-dim);
  overflow-y: auto;
}
.cf-app-body .cf-drawer {
  flex-direction: row;
  flex: 0 0 auto;
  border-right: none;
  border-bottom: 1px solid var(--green-dim);
}

.cf-tab {
  background: none;
  border: none;
  border-bottom: 1px solid var(--green-dim);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.78em;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
}
.cf-app-body .cf-tab { border-bottom: none; border-right: 1px solid var(--green-dim); flex: 1; text-align: center; }
.cf-tab.active { color: var(--green); background: var(--green-dim); }

.cf-pane {
  flex: 1;
  padding: 14px 16px;
  overflow-y: auto;
  font-size: 0.82em;
  line-height: 1.5;
}

.cf-line {
  white-space: pre-wrap;
  margin-bottom: 4px;
  animation: cf-in 0.15s ease-out;
}
.cf-line:first-child {
  color: var(--green);
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.cf-line:nth-child(6) { color: var(--green); }

@keyframes cf-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cf-line { animation: none; }
}

.cf-cta {
  margin-top: 14px;
  background: none;
  border: 1px solid var(--green);
  color: var(--green);
  font-family: inherit;
  font-size: 0.82em;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.cf-cta:hover { background: var(--green); color: var(--bg); }
