html { color-scheme: dark; }
body {
  margin: 8px;
  background: #0f0f0f;
  color: #ffffcf;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}
a:link, a:visited { color: #ffffef; }
a:hover, a:active { color: #8fdfff; }
h1 { margin: 28px 0 24px; text-align: center; font-size: 2em; }
h2 { margin: 26px 0 14px; padding: 1px 5px; background: white; color: black; font-size: 1em; }
p { line-height: 1.35; }
.intro { text-align: center; }
button, input {
  color-scheme: light;
  box-sizing: border-box;
  border: 2px inset #d0d0d0;
  border-radius: 0;
  padding: 2px 5px;
  background: #ffffef;
  color: #000;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}
button { border-style: outset; cursor: pointer; }
button:active { border-style: inset; }
button:disabled { cursor: default; color: #666; }
button, summary { min-height: 28px; }
:focus-visible { outline: 2px solid #8fdfff; outline-offset: 3px; }
.date-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#today-previous, #today-next { min-width: 30px; }
details { margin: 16px 0; }
summary { cursor: pointer; }
.coordinates { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 12px; }
.coordinates label { display: block; margin-bottom: 4px; }
.coordinates input { width: 148px; }
.coordinates > div { max-width: 100%; }
.field-error { margin: 6px 0; color: #ffc4b7; }
.error { border: 1px solid #ffc4b7; padding: 8px; color: #ffc4b7; }
[aria-invalid="true"] { border-color: #ff7b65; }
.almanac { width: 100%; border-collapse: collapse; }
.almanac th, .almanac td { padding: 9px 12px 9px 5px; border-bottom: 1px solid #666; text-align: left; vertical-align: top; line-height: 1.35; }
.almanac th { width: 34%; }
.map-link { margin-top: 22px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[hidden] { display: none !important; }
@media (max-width: 480px) {
  h1 { font-size: 1.6em; }
  .almanac th { width: 40%; }
  .almanac th, .almanac td { padding-right: 7px; }
  button, input, summary { min-height: 36px; }
}
