:root {
  color-scheme: light;
  --graphite: #202425;
  --concrete: #929997;
  --paper: #f7f8f4;
  --muted: #687174;
  --blue: #174ea6;
  --yellow: #f2d000;
  --green: #16864a;
  --line: rgba(32, 36, 37, .28);
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  position: relative;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--concrete);
  color: var(--graphite);
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background: url("/static/dry-hall-watercolor.jpg") center / cover no-repeat;
  content: "";
  filter: grayscale(.16) contrast(.96) brightness(.78);
  opacity: .16;
  pointer-events: none;
}

body > * { position: relative; z-index: 1; }
h1, h2, h3, p { margin: 0; }

.topbar {
  display: flex;
  min-height: 104px;
  padding: 16px 28px;
  border-bottom: 7px solid var(--yellow);
  background: var(--graphite);
  color: #fff;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.identity,
.headline,
.availability,
.details,
.section-heading,
.legend,
.legend span,
.post-heading {
  display: flex;
  align-items: center;
}

.identity { gap: 15px; }
.identity { color: inherit; text-decoration: none; }
.brand-logo {
  display: block;
  width: 156px;
  height: auto;
  border: 2px solid var(--yellow);
  border-radius: 2px;
  background: #fff;
}

.eyebrow,
.section-label {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

h1 { margin-top: 3px; font-size: 32px; text-transform: uppercase; }

main {
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: 28px 30px 56px;
}

.occupancy {
  padding: 24px 0 30px;
  border-bottom: 1px solid var(--line);
}
.occupancy .section-label { color: var(--blue); }
.headline { margin-top: 8px; gap: 13px; flex-wrap: wrap; }
.headline span { color: #353b3d; font-size: 36px; font-weight: 800; text-transform: uppercase; }
.headline strong {
  color: var(--graphite);
  font-size: 76px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.availability { margin-top: 5px; gap: 10px; color: var(--green); }
.availability span { font-size: 23px; font-weight: 800; text-transform: uppercase; }
.availability strong { font-size: 34px; font-variant-numeric: tabular-nums; }

.meter {
  width: 100%;
  height: 13px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(32, 36, 37, .36);
  border-radius: 3px;
  background: rgba(247, 248, 244, .56);
}
.meter-fill { width: 0; height: 100%; background: var(--yellow); transition: width .35s ease; }
.details { margin-top: 10px; justify-content: space-between; gap: 20px; color: #4d5557; font-size: 13px; }
.details strong { color: var(--graphite); }
.freshness {
  display: inline-flex;
  margin-top: 14px;
  padding: 7px 9px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: #4d5557;
  font-size: 12px;
  font-weight: 800;
}
.freshness.current { color: var(--green); }
.freshness.delayed { color: #7b6200; background: rgba(242, 208, 0, .14); }
.freshness.stale, .freshness.waiting { color: #a8140d; background: rgba(168, 20, 13, .08); }

.posts-section { padding-top: 30px; }
.section-heading { justify-content: space-between; gap: 20px; }
.section-heading .section-label { margin-bottom: 4px; color: var(--blue); }
h2 { font-size: 24px; }
.legend { gap: 16px; color: #4d5557; font-size: 12px; }
.legend span { gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.free-dot { background: var(--green); box-shadow: 0 0 0 2px rgba(242, 208, 0, .34); }
.busy-dot { background: #4f5758; }

.posts {
  display: grid;
  margin-top: 18px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px;
}
.post {
  min-height: 108px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(247, 248, 244, .9);
}
.post.busy {
  border-color: rgba(32, 36, 37, .42);
  background: rgba(62, 68, 69, .84);
  color: #d8dcda;
}
.post.free {
  border-top: 6px solid var(--yellow);
  background: rgba(255, 255, 252, .97);
  color: var(--graphite);
  box-shadow: 0 0 0 2px rgba(242, 208, 0, .25), 0 8px 18px rgba(32, 36, 37, .12);
}
.post-heading { justify-content: space-between; gap: 10px; }
.post h3 { font-size: 25px; }
.post-state { color: var(--muted); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.post.busy h3 { color: #f0f2ef; }
.post.busy .post-state { color: #c4cac7; }
.post.busy .worker-count { color: #c4cac7; }
.post.free .post-state { color: var(--green); }
.worker-count { margin-top: 17px; color: var(--muted); font-size: 13px; }
.empty,
.error { margin-top: 24px; padding: 22px 0; border-top: 1px solid var(--line); font-weight: 700; }
.empty { color: #4d5557; }
.error { color: #a8140d; }
.hidden { display: none; }

@media (max-width: 680px) {
  .topbar { min-height: 0; padding: 9px 10px 11px; align-items: flex-start; flex-direction: column; gap: 9px; border-bottom-width: 5px; }
  .identity { gap: 8px; }
  .brand-logo { width: 90px; border-width: 1px; }
  .eyebrow { font-size: 8px; letter-spacing: .6px; }
  h1 { font-size: 18px; }
  main { padding: 15px 10px 32px; }
  .occupancy { padding: 8px 0 18px; }
  .section-label { font-size: 9px; }
  .headline { gap: 7px; }
  .headline span { font-size: 18px; }
  .headline strong { font-size: 40px; }
  .availability { gap: 6px; }
  .availability span { font-size: 14px; }
  .availability strong { font-size: 22px; }
  .meter { height: 9px; margin-top: 11px; }
  .details { margin-top: 7px; font-size: 10px; }
  .freshness { margin-top: 9px; padding: 5px 6px; font-size: 9px; }
  .posts-section { padding-top: 18px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  h2 { font-size: 17px; }
  .legend { font-size: 9px; }
  .posts { margin-top: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
  .post { min-height: 77px; padding: 9px; }
  .post.free { border-top-width: 4px; }
  .post-heading { align-items: flex-start; gap: 5px; }
  .post h3 { font-size: 17px; }
  .post-state { font-size: 7px; }
  .worker-count { margin-top: 11px; font-size: 9px; }
}
