:root {
  --ink: #183c36;
  --muted: #526760;
  --bg: #f5f5ef;
  --paper: #fff;
  --line: #d8dfd7;
  --accent: #d4edb8;
  --red: #a21e2b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    16px/1.55 system-ui,
    sans-serif;
}
header,
main,
footer {
  max-width: 1160px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 26px;
  font-weight: 850;
  letter-spacing: -2px;
  text-decoration: none;
  color: var(--ink);
}
.brand span {
  font-weight: 400;
  margin-left: 6px;
}
.edition {
  color: var(--muted);
  flex: 1;
}
h1 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.8px;
  margin: 8px 0 28px;
  font-weight: 600;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
}
button,
input,
textarea,
select {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-height: 46px;
  padding: 10px 15px;
}
button {
  cursor: pointer;
  color: var(--ink);
  background: var(--paper);
  transition: background 0.18s;
}
button:hover {
  background: var(--accent);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #4c866b;
  outline-offset: 3px;
}
.primary {
  background: var(--ink);
  color: white;
}
label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
input,
textarea,
select {
  background: white;
  color: var(--ink);
  width: 100%;
}
textarea {
  min-height: 100px;
}
form {
  display: grid;
  gap: 18px;
  max-width: 580px;
}
#login {
  max-width: 580px;
  margin: 9vh auto;
}
#loginForm {
  margin-top: 30px;
}
.heading,
.filters,
nav {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
.heading {
  margin-top: 38px;
}
nav {
  justify-content: flex-start;
}
.selected {
  background: var(--ink);
  color: white;
}
.filters {
  justify-content: flex-start;
  margin: 24px 0;
}
.filters label {
  min-width: 220px;
}
#summary {
  color: var(--muted);
  margin-bottom: 18px;
}
.note {
  background: var(--paper);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 14px;
}
.note h2 {
  font-size: 21px;
  line-height: 1.35;
  margin: 10px 0;
}
.meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}
.states {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.badge {
  font-size: 13px;
  background: #edf2e8;
  border-radius: 6px;
  padding: 5px 10px;
}
.note a {
  color: #175d48;
}
.note img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin: 6px;
}
.note details {
  border-top: 1px solid var(--line);
  margin-top: 18px;
}
.note pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: 14px/1.6 system-ui;
}
details {
  background: white;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 12px;
  margin: 18px 0;
}
summary {
  font-weight: 650;
  cursor: pointer;
  min-height: 44px;
}
details form {
  margin-top: 18px;
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
}
.check input {
  width: 22px;
  min-height: 22px;
}
#banner:not(:empty),
.alert {
  padding: 14px 18px;
  margin: 20px 0;
  border-radius: 8px;
  background: #fff0d7;
  color: #614409;
}
#banner.down {
  background: #fbe8e9;
  color: var(--red);
}
#message {
  color: var(--red);
  position: sticky;
  bottom: 10px;
  background: var(--bg);
}
#qr {
  max-width: 270px;
  width: 100%;
}
footer {
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}
#destinations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.destination {
  padding: 14px;
  background: var(--bg);
  border-radius: 8px;
}
.future {
  color: var(--muted);
}
.empty {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
}
a {
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  header,
  main,
  footer {
    padding: 18px;
  }
  .edition {
    font-size: 12px;
  }
  .heading {
    display: block;
  }
  .heading button {
    width: 100%;
  }
  .filters {
    align-items: end;
  }
  .filters label {
    min-width: 0;
    flex: 1;
  }
  .note {
    padding: 18px;
  }
  .meta {
    display: block;
  }
  .states {
    gap: 6px;
  }
  footer span {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
