/*
 * .fault — the head of a fault page: class, message, and where it happened,
 * plus the facts grid beneath it (first/last seen, count, environment).
 * Structure: .fault > .fault__class + .fault__message + .fault__location ;
 *            dl.facts > div > dt + dd
 */
@layer components {
  .fault__class {
    margin: 0;
    font-size: var(--font-size-4);
    font-weight: var(--font-weight-7);
    overflow-wrap: anywhere;
  }
  .fault__message {
    margin: 0;
    font-size: var(--font-size-2);
    color: var(--ink);
    overflow-wrap: anywhere;
  }
  .fault__location {
    font-family: var(--font-mono);
    font-size: var(--font-size-0);
    color: var(--ink-muted);
    overflow-wrap: anywhere;
  }

  .facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: var(--u-pad);
    margin: 0;
  }
  .facts dt {
    font-size: var(--font-size-0);
    font-weight: var(--font-weight-7);
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  .facts dd { margin: 0; font-weight: var(--font-weight-6); overflow-wrap: anywhere; }
}
