/* App-specific styles: docs markdown view, ledger money, calendar
   agenda day headers. */
#doc-body {
  min-height: 320px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}

/* markdown view */
.doc-view {
  border: 1px solid var(--edge-soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 10px;
  background: var(--panel-inset);
  max-height: 60vh;
  overflow: auto;
  line-height: 1.5;
}
.doc-view pre { background: #0d1017; padding: 10px; border-radius: var(--radius-sm); overflow: auto; }
.doc-view code { color: var(--code); }
.doc-view blockquote { border-left: 3px solid #4a5568; margin: var(--space-2) 0; padding: 2px 12px; color: var(--muted); }
.doc-view figure.doc-fig { margin: 12px 0; text-align: center; }
.doc-view figure.doc-fig img { max-width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--edge-soft); }
.doc-view figure.doc-fig figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ledger: tabular figures so cents columns line up */
.money { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* calendar agenda day separators */
.agendaday { margin: 12px 0 4px; }

/* Archived group: collapsed home for terminal projects. */
.archived-group { margin-top: var(--space-3); }
.archived-group > summary {
  cursor: pointer; color: var(--muted); font-size: 13px; font-weight: 500;
  padding: var(--space-2) 0;
}
.archived-group[open] > summary { color: inherit; }
