/* ─────────── events ─────────── */
.event-body { padding: 1.375rem var(--pad) 2.125rem; }
.when-block { background: var(--surface); border: 1px solid var(--line); border-radius: 0.6875rem; padding: 0.875rem 0.9375rem; }
.when-block .when-line { font-family: var(--mono); font-size: 0.9375rem; color: var(--text); letter-spacing: .01em; line-height: 1.5; }
.event-when { font-family: var(--mono); }
.event-when .icon { width: auto; font-size: 0.9em; margin: 0 0.375rem; vertical-align: -0.08em; color: var(--faint); }
.when-block .when-detail { margin-top: 0.3125rem; font-family: var(--mono); font-size: 0.65625rem; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.fact { font-size: 0.90625rem; line-height: 1.5; color: var(--muted); }
.fact p { margin: 0 0 0.75rem; }

/* native date and time controls, matched to the standard field */
.form-field input[type=date], .form-field input[type=time] { font-family: var(--mono); font-size: 0.84375rem; color-scheme: dark; }
.field-textarea { min-height: 5.5rem; resize: none; line-height: 1.5; }

/* ─────────── calendar ─────────── */
.calendar-head { display: flex; align-items: center; justify-content: space-between; padding: 0.25rem var(--pad) 0.625rem; }
.calendar-month { display: flex; gap: 0.625rem; align-items: center; }
/* Dashed means the note for that period does not exist yet. */
.grain-link {
  background: none;
  border: 0;
  padding: 0 0 0.125rem;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: .06em;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none;
}
.grain-link:active { color: var(--accent); }
