/* Page-wide resets and small shared helpers. */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--page);
  height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.2s, color 0.2s;
}

button { font: inherit; color: inherit; cursor: pointer; }

/* inline error message (dialogs and the calendar) */
.form-error {
  font-family: var(--mono);
  color: var(--secondary);
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
}

/* pushes following flex items to the far side */
.spacer { flex: 1; }
