:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #132738;
  background: #f1f6f8;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
header { background: #132738; padding: 1rem max(1.25rem, calc((100% - 56rem) / 2)); }
.brand { color: #fff; font-size: 1.3rem; font-weight: 800; text-decoration: none; }
main { width: min(56rem, calc(100% - 2.5rem)); margin: 3.5rem auto; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.85rem, 5vw, 3rem); line-height: 1.15; overflow-wrap: anywhere; }
h2 { font-size: 1.25rem; margin-bottom: .8rem; }
h3 { font-size: 1.15rem; }
.intro, section > .muted { margin-top: .75rem; }
section { margin-top: 2.25rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: .9rem; }
article, .inbox { background: white; border: 1px solid #cddbe2; border-radius: .75rem; }
article { padding: 1.35rem; }
article p { margin: .35rem 0 1rem; }
button {
  font: inherit; font-weight: 650; cursor: pointer; color: white; background: #075855;
  border: 1px solid transparent; border-radius: .45rem; padding: .5rem .85rem;
}
button:hover { background: #063f3d; }
.secondary { background: transparent; color: #075855; border-color: #8eb4b4; }
.secondary:hover { background: #e0eeee; }
a { color: #075855; }
:focus-visible { outline: 3px solid #b74308; outline-offset: 3px; }
.status, .muted, time, .snippet { color: #4a606c; }
.notice { padding: .75rem; margin-top: 1rem; background: #fff4d6; border-radius: .5rem; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.inbox { margin: 0; padding: 0; list-style: none; overflow: hidden; }
.inbox li + li { border-top: 1px solid #dce6eb; }
.inbox a {
  display: grid; grid-template-columns: minmax(8rem, .7fr) minmax(10rem, 1.4fr) auto;
  gap: .2rem 1rem; padding: .85rem 1rem; color: inherit; text-decoration: none;
}
.inbox a:hover, .inbox a:focus-visible { background: #eaf4f4; outline-offset: -3px; }
.sender, .inbox strong, .snippet { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
time { font-size: .875rem; }
.snippet { grid-column: 2 / -1; font-size: .9rem; }
.message .body { white-space: pre-wrap; overflow-wrap: anywhere; border-top: 1px solid #dce6eb; padding-top: 1rem; }
.message .muted { overflow-wrap: anywhere; }
@media (max-width: 42rem) {
  main { margin-top: 2rem; }
  .inbox a { grid-template-columns: minmax(0, 1fr); }
  .snippet { grid-column: 1; }
}

