:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f5f7;
  color: #17202a;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
main { width: min(760px, calc(100% - 2rem)); margin: 0 auto; padding: 4rem 0; }
header { margin-bottom: 2rem; }
.eyebrow { color: #3b5bcc; font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: .35rem 0 .75rem; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1; letter-spacing: -.045em; }
h2 { margin: 0; font-size: 1.1rem; }
p { color: #53606d; line-height: 1.6; }
section { background: #fff; border: 1px solid #dfe3e8; border-radius: 16px; padding: 1.35rem; margin-top: 1rem; box-shadow: 0 14px 38px rgba(23, 32, 42, .05); }
label { display: block; margin: 1rem 0 .45rem; font-weight: 650; }
.form-row { display: flex; gap: .65rem; }
input { min-width: 0; flex: 1; border: 1px solid #bcc5cf; border-radius: 10px; padding: .8rem .9rem; font: inherit; }
input:focus { outline: 3px solid rgba(59, 91, 204, .2); border-color: #3b5bcc; }
button { border: 0; border-radius: 10px; padding: .8rem 1rem; background: #2446b8; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
button:hover { background: #18358f; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-heading span { color: #71808f; font-size: .88rem; }
.records { list-style: none; padding: 0; margin: 1rem 0 0; }
.records li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .75rem; padding: .85rem 0; border-top: 1px solid #edf0f2; }
.record-id { color: #3b5bcc; font-variant-numeric: tabular-nums; font-weight: 700; }
.message { overflow-wrap: anywhere; }
time { color: #71808f; font-size: .8rem; white-space: nowrap; }
.empty { margin-bottom: 0; }
@media (max-width: 600px) {
  main { padding: 2rem 0; }
  .form-row { flex-direction: column; }
  .records li { grid-template-columns: auto 1fr; }
  time { grid-column: 2; }
}
