@layer site {
  * { box-sizing: border-box; }
  body {
    margin: 0;
    padding: 1rem 1.5rem;
    background: #f5f7f9;
    color: #111827;
    font-family: "Segoe UI", "Helvetica Neue", sans-serif;
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  h1 { font-size: 1.7rem; margin: 0.2rem 0; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.05rem; }
  p, dd { max-width: 68ch; }
  a { color: #111827; }
  a:hover { text-decoration-thickness: 3px; }
  .site-name { font-size: 1rem; }
  .crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0.3rem 0; list-style: none; font-size: 1rem; }
  .plate { border-left: 6px solid #0f766e; padding-left: 0.6rem; }
  td, .tiles b, .chart-labels b {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
  }
  .tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; padding: 0; list-style: none; }
  .tiles li { border-bottom: 1px solid #cbd5e1; padding: 0.25rem 0; }
  .table-frame { overflow-x: auto; max-width: 100%; }
  table { border-collapse: collapse; width: 100%; font-size: 1rem; }
  caption { text-align: left; padding: 0.3rem 0; }
  th, td { border-bottom: 1px solid #cbd5e1; padding: 0.2rem 0.35rem; text-align: left; }
  button, .actions a {
    font: inherit;
    background: #f5f7f9;
    color: #111827;
    border: 1px solid #111827;
    padding: 0.35rem 0.55rem;
    text-decoration: none;
  }
  .chart img { width: 320px; max-width: 100%; height: auto; }
  .chart-labels { font-size: 1rem; }
  footer a { margin-right: 0.7rem; }
  @media (min-width: 900px) {
    main { display: flex; flex-direction: column; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { transition: none; }
  }
}
