/*
 * The budget page's own rules (budgets#show). Its layout lives in
 * detail.css / DetailPageComponent; only what is particular to a budget is
 * here: the title, an overdue deadline and the archived fade.
 */
@layer components {
  .budget-detail__title {
    font: var(--text-title);
    color: var(--color-ink);
    max-inline-size: none;
  }

  .budget-detail__overdue {
    color: var(--color-negative);
    font-weight: 500;
  }

  /* Archived: read-only, so the content below the title fades. */
  .budget-detail--archived .detail__main > :not(h1, .title-form) {
    opacity: 0.6;
  }
}
