/* Arkiv (spec 2026-11-25-phase2-last-pages). The pills, list and lead are the registers'. */
.arc-months { flex-wrap: wrap; }

.arc-cal { width: 100%; max-width: 560px; margin: 8px 0 28px; border-collapse: separate; border-spacing: 4px; table-layout: fixed; }
.arc-cal th { font-size: var(--fs-label); font-weight: 400; color: var(--ink-3); text-align: center; padding: 0 0 4px; }
.arc-day { height: var(--touch); padding: 0; text-align: center; vertical-align: middle; font-size: var(--fs-meta); color: var(--ink-3); border-radius: 8px; }
.arc-day.is-blank { background: transparent; }
.arc-num { font-variant-numeric: tabular-nums; }
.arc-link { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: var(--touch); border-radius: 8px; text-decoration: none; font-weight: 700; color: var(--chip-theme-fg); background: var(--chip-theme-bg); }
.arc-link.is-weekly { color: var(--chip-week-fg); background: var(--chip-week-bg); }
.arc-link + .arc-link { margin-top: 4px; }
.arc-link:hover { background: var(--accent-fill-2); color: var(--accent-hover); }
.arc-mark { font-size: 10px; font-weight: 400; line-height: 1; }

.arc-when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; font-size: var(--fs-meta); color: var(--ink-3); }
.arc-date { font-variant-numeric: tabular-nums; }
.arc-headline { display: block; min-height: var(--touch); padding-top: 8px; }

@media (max-width: 640px) {
  .arc-cal { border-spacing: 2px; }
}

/* Risk Letters' old letters (B75): a calendar mark, a status word, the letter page. Neutral greys only. */
.arc-link.is-newsletter, .arc-link.is-report { color: var(--chip-neutral-fg); background: var(--chip-neutral-bg); }
/* One tile per day with the count ("15 breve"): the word may wrap in a narrow cell, never widen the grid. */
.arc-link .arc-mark { max-width: 100%; padding: 0 2px; overflow-wrap: anywhere; text-align: center; }
.arc-item { scroll-margin-top: 16px; }
.arc-status { color: var(--ink-3); }
.arc-excerpt { margin: 4px 0 0; color: var(--ink-2); font-size: var(--fs-meta); }
.arc-letter { max-width: 760px; }
.arc-lead-da { margin: 16px 0; }
.arc-lead-da h2 { font-size: var(--fs-meta); font-weight: 700; margin: 0 0 4px; }
.arc-body { line-height: 1.6; overflow-wrap: anywhere; }
.arc-body h2 { font-size: 20px; margin: 28px 0 8px; }
.arc-body h3 { font-size: 17px; margin: 22px 0 6px; }
.arc-body h4, .arc-body h5, .arc-body h6 { font-size: 15px; margin: 18px 0 6px; }
.arc-body hr { border: 0; border-top: 1px solid var(--rule); margin: 24px 0; }
.arc-body blockquote { margin: 12px 0; padding: 0 0 0 16px; color: var(--ink-2); font-style: italic; }
.arc-body a, .arc-letter td a { min-height: var(--touch); }
.arc-table { overflow-x: auto; margin: 12px 0 20px; }
.arc-table table { border-collapse: collapse; font-size: var(--fs-meta); min-width: 100%; }
.arc-table th, .arc-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.arc-table th { font-weight: 700; color: var(--ink-2); }
.arc-back { display: inline-flex; align-items: center; min-height: var(--touch); }
