:root {
  color-scheme: light dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0;
}

main {
  box-sizing: border-box;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

.brand {
  margin: 0 0 8px;
  font-size: 14px;
  opacity: 0.7;
}

h1 {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1.3;
}

#event,
#note {
  margin: 0 0 6px;
  white-space: pre-wrap;
}

ol {
  margin: 20px 0;
  padding-left: 24px;
}

li {
  padding: 8px 0;
  line-height: 1.4;
}

nav {
  display: grid;
  gap: 10px;
}

nav a {
  display: block;
  padding: 13px 16px;
  border-radius: 10px;
  background: #5b3fa8;
  color: #fff;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

#stores {
  margin: 16px 0;
}

#sheets:empty {
  display: none;
}

#pdf-pages canvas {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / 25%);
}

#pdf-status {
  margin: 16px 0;
}

#app-hint {
  margin: 16px 0 0;
  font-weight: 600;
}

.psalm-check-warning {
  margin: 4px 0 0;
  color: #9a5b00;
  font-size: 0.875rem;
}

#lyric h2 {
  margin: 20px 0 8px;
  font-size: 18px;
}

#lyric p,
#opening {
  margin: 0 0 12px;
  line-height: 1.6;
  white-space: pre-line;
}
