:root {
  font-family: system-ui, sans-serif;
  color: #20352e;
  background: #f2f5f1;
  font-size: 15px;
  --muted: #586e65;
  --accent: #1d6850;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.login-page {
  max-width: 480px;
  margin: 12vh auto;
  padding: 30px;
  border: 1px solid #d2ddd5;
  border-radius: 12px;
  background: #fff;
}
.login-page form {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}
.login-page input {
  width: 100%;
  min-width: 0;
}
.login-page [role='alert'] {
  color: #a02b24;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: auto;
  padding: 32px 30px 20px;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  margin: 4px 0;
}
p {
  margin: 8px 0;
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
}
a {
  color: var(--accent);
}
main {
  max-width: 1280px;
  margin: auto;
  padding: 0 30px 24px;
}
.toolbar {
  display: flex;
  align-items: end;
  gap: 16px;
  flex-wrap: wrap;
  border: 1px solid #d2ddd5;
  background: #fff;
  border-radius: 12px;
  padding: 18px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
select,
button,
input {
  font: inherit;
  padding: 9px 12px;
  border: 1px solid #bdcec4;
  border-radius: 6px;
  background: #fff;
  color: #20352e;
}
button {
  cursor: pointer;
}
button:hover {
  background: #e9f3ed;
}
button:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #4096c1;
  outline-offset: 3px;
}
nav {
  display: flex;
  gap: 8px;
  margin: 22px 0;
  flex-wrap: wrap;
}
nav button {
  border-color: transparent;
  background: transparent;
}
nav button[aria-current='page'] {
  background: var(--accent);
  color: #fff;
}
#freshness {
  color: var(--muted);
  font-size: 12px;
  align-self: center;
  margin-left: auto;
}
.cards,
.charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.charts {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}
.card,
article {
  border: 1px solid #d2ddd5;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}
.card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.card strong {
  display: block;
  font-size: 27px;
  margin-top: 8px;
}
h2 {
  font-size: 18px;
  margin: 0 0 14px;
}
h3 {
  font-size: 14px;
  margin: 0 0 12px;
}
.table-wrap {
  overflow: auto;
  margin-bottom: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid #e1e8e3;
  padding: 12px;
  white-space: nowrap;
  font-size: 13px;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}
td button {
  padding: 4px 8px;
  font-size: 12px;
}
svg {
  width: 100%;
  height: 190px;
  display: block;
}
.room-map {
  height: 380px;
  image-rendering: pixelated;
}
#notice:not(:empty) {
  padding: 14px;
  background: #fff1cf;
  border: 1px solid #d7bc72;
  border-radius: 8px;
  margin-bottom: 20px;
}
.empty {
  padding: 36px;
  text-align: center;
  color: var(--muted);
}
footer {
  font-size: 12px;
  color: var(--muted);
  padding: 20px 0;
}
aside {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(620px, 100%);
  background: #fff;
  box-shadow: -5px 0 30px #20352e30;
  padding: 24px;
  overflow: auto;
}
aside pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
aside button {
  float: right;
}
.comparison {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  header,
  main {
    padding-left: 16px;
    padding-right: 16px;
  }
  .charts {
    grid-template-columns: 1fr;
  }
  .toolbar {
    gap: 10px;
  }
  select {
    max-width: 250px;
  }
  #freshness {
    width: 100%;
    margin-left: 0;
  }
  h1 {
    font-size: 27px;
  }
}
