:root {
  --desk: #e4ddd0;
  --paper: #fbf8f2;
  --ink: #1a1714;
  --muted: #6d665c;
  --line: #e3dcd0;
  --warn: #8a2e24;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font-family: "IBM Plex Sans", sans-serif;
}
.sheet {
  max-width: 40rem;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--paper);
  padding: 1.25rem 1.25rem 3rem;
}
@media (min-width: 640px) {
  body { padding: 2.5rem 1.5rem; }
  .sheet {
    min-height: 0;
    padding: 2rem 2.5rem 3rem;
    border: 1px solid color-mix(in srgb, var(--ink) 12%, var(--desk));
    box-shadow: 0 24px 60px color-mix(in srgb, var(--ink) 8%, transparent);
  }
}
.top { display: flex; justify-content: flex-end; }
.nameplate {
  margin-top: .75rem;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1.15rem;
  text-align: center;
}
.nameplate::before {
  content: "";
  display: block;
  height: 4px;
  margin: 0 0 1.2rem;
  background: var(--ink);
}
h1, h2, h3, .deck { font-family: Newsreader, Georgia, serif; font-weight: 500; }
h1 { margin: .4rem 0; font-size: 4.5rem; line-height: .9; letter-spacing: -.03em; }
h2 { margin: .35rem 0; font-size: 2.4rem; }
h3 { margin: .4rem 0; font-size: 1.55rem; line-height: 1.25; }
.tagline {
  margin: 0;
  font-family: Newsreader, Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
}
.kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.deck { margin: 1.5rem auto 0; max-width: 28rem; text-align: center; font-size: 1.35rem; font-style: italic; }
.block { margin-top: 2.5rem; border-top: 1px solid var(--ink); padding-top: 1.4rem; }
.muted { color: var(--muted); }
.note { margin-top: .8rem; }
button, .button {
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  padding: 0 1.1rem;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
}
.ghost { background: transparent; color: var(--ink); border-bottom: 1px solid var(--ink); }
.link { background: none; border: 0; color: inherit; text-decoration: underline; text-underline-offset: 4px; font: inherit; cursor: pointer; }
.auth { display: flex; flex-direction: column; gap: .6rem; max-width: 22rem; margin-top: 1rem; }
.auth input, .search input {
  height: 2.75rem;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font: inherit;
}
.row { display: flex; gap: .75rem; align-items: center; }
.alerts { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
.alerts li { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.alerts button { background: none; color: var(--ink); width: 2.75rem; padding: 0; font-size: 1.4rem; }
.center { text-align: center; }
.filters {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 2.5rem -1.25rem 0;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}
.chips { display: flex; gap: 1rem; overflow-x: auto; margin-top: .4rem; }
.chips button {
  background: none;
  color: var(--muted);
  height: 2.75rem;
  padding: 0;
  white-space: nowrap;
}
.chips button.on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.chips button.warn { color: var(--warn); box-shadow: inset 0 -2px 0 var(--warn); }
.day { margin-top: 2.6rem; }
.day h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.day h2 span { flex: 1; height: 1px; background: var(--line); }
ul { list-style: none; margin: 0; padding: 0; }
li { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.warn { color: var(--warn); font-weight: 500; }
.links { display: flex; gap: 1.2rem; }
.links a { color: inherit; }
.empty { margin-top: 2rem; }
footer { margin-top: 2.5rem; border-top: 1px solid var(--ink); padding-top: 1rem; color: var(--muted); font-size: .92rem; }
[hidden] { display: none !important; }
