html {
  color-scheme: dark;
  scrollbar-gutter: stable;
}
body {
  max-width: 640px;
  margin: 64px auto;
  padding: 0 24px;
  background: #111;
  color: #ddd;
  font:
    16px/1.7 Arial,
    sans-serif;
}
h1,
h2 {
  font: inherit;
  margin: 24px 0 16px;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
nav {
  display: flex;
  gap: 20px;
}
.site-header {
  margin-bottom: 24px;
}
.site-name {
  display: block;
  margin-bottom: 16px;
  text-decoration: none;
}
.site-nav {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.site-nav a[aria-current] {
  color: #111;
  background: #ddd;
  text-decoration: none;
}
ul {
  list-style: none;
  padding: 0;
}
li {
  margin: 12px 0;
}
time,
.muted {
  color: #aaa;
  font-size: 14px;
}
.project-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
input,
textarea,
button,
select {
  font: inherit;
}
input,
textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 8px;
  border: 1px solid #666;
  border-radius: 0;
  background: #191919;
  color: inherit;
}
textarea {
  min-height: 320px;
  resize: vertical;
  line-height: 1.6;
}
label {
  display: block;
  margin: 16px 0 4px;
}
button {
  cursor: pointer;
  padding: 5px 12px;
}
button:disabled {
  cursor: wait;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.entry-button {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  text-align: left;
}
#message:empty,
#entry-status:empty {
  display: none;
}
#saved-entries {
  margin-bottom: 24px;
}
.editor-back {
  display: block;
  margin-bottom: 20px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 480px) {
  body {
    margin-top: 32px;
  }
}
