@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/HankenGrotesk-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #fff;
  --ink: #2e2d29;
  --accent: #175e54;
  --rule: #dad7cb;
  --muted: #53565a;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.5 "Hanken Grotesk",
    Arial,
    sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.masthead,
main,
footer {
  max-width: 1264px;
  margin: auto;
  padding-left: 56px;
  padding-right: 56px;
}
.masthead {
  background: white;
  color: var(--ink);
  min-height: 142px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
.wordmark img {
  display: block;
  width: 242px;
  height: auto;
  aspect-ratio: auto;
  background: none;
  border-radius: 0;
}
nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
}
nav a {
  text-decoration: none;
}
main {
  padding-top: 38px;
  padding-bottom: 0;
}
h1 {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 600;
  margin: 6px 0 14px;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin: 0 0 14px;
}
h3 {
  font-weight: 600;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin: 0;
}
.muted,
small {
  color: var(--muted);
  font-size: 13px;
}
.fleet-summary {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 0;
  margin: 20px 0 24px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.fleet-summary span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.fleet-summary span:last-child {
  margin-left: auto;
  color: var(--muted);
}
.dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
}
.dot.operational {
  background: #175e54;
}
.dot.degraded {
  background: #ad7400;
}
.dot.down {
  background: #a32932;
}
.grid {
  gap: 24px;
}
.printer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 24px;
  min-width: 0;
}
.printer-card {
  padding: 20px;
}
.printer-card h2 {
  font-size: 26px;
  margin: 2px 0 0;
}
.badge {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 2px;
  font-weight: 600;
  text-transform: capitalize;
}
.operational {
  background: #e6efec;
  color: #175e54;
}
.degraded {
  background: #fcf2d9;
  color: #825700;
}
.down {
  background: #f8e8e8;
  color: #a32932;
}
.detail {
  min-height: 21px;
  margin: 14px 0;
  font-size: 13px;
}
img {
  border-radius: 0;
  background: #f4f4f0;
}
.camera-empty {
  aspect-ratio: 16/9;
  background: #f4f4f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  padding: 20px;
  text-align: center;
}
.printer-card > .row:last-child {
  font-size: 12px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-top: 18px;
  color: var(--muted);
}
.metrics {
  gap: 16px;
  margin: 36px 0 20px;
}
.metric strong {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
}
.metric small {
  font-size: 11px;
}
section {
  margin-top: 28px;
}
.row {
  flex-wrap: wrap;
}
progress {
  height: 5px;
  accent-color: var(--accent);
}
select,
input {
  font: inherit;
  padding: 8px 12px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 2px;
  color: var(--ink);
}
button {
  background: var(--accent);
  font: inherit;
  border-radius: 2px;
}
th {
  font-weight: 600;
  color: var(--muted);
}
td,
th {
  border-color: var(--rule);
}
table {
  table-layout: fixed;
}
.hour-bar {
  background: var(--accent);
}
#inspections article {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
}
summary {
  cursor: pointer;
  color: var(--accent);
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 30px;
  padding-bottom: 37px;
  border-top: 1px solid var(--rule);
}
footer img {
  width: 184px;
  height: auto;
  aspect-ratio: auto;
  background: none;
}
.directory-button {
  border: 1px solid var(--accent);
  border-radius: 2px;
  padding: 11px 16px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.directory-button:hover {
  background: var(--accent);
  color: white;
}
.empty {
  padding: 24px 0;
  color: var(--muted);
}
@media (max-width: 1000px) {
  .printer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .masthead,
  main,
  footer {
    padding-left: 32px;
    padding-right: 32px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .masthead,
  main,
  footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .masthead {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding-top: 24px;
    padding-bottom: 22px;
  }
  .wordmark img {
    width: 220px;
  }
  nav {
    gap: 20px;
    font-size: 13px;
  }
  main {
    padding-top: 28px;
  }
  h1 {
    font-size: 40px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .fleet-summary {
    gap: 14px;
    font-size: 13px;
  }
  .fleet-summary span:last-child {
    margin-left: 0;
    width: 100%;
  }
  .card {
    padding: 18px;
  }
  .metric strong {
    font-size: 25px;
  }
  .row {
    gap: 10px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .hour-chart {
    gap: 3px;
  }
  .hour-column {
    min-width: 15px;
  }
  .hour-value,
  .hour-label {
    font-size: 8px;
  }
  td,
  th {
    font-size: 12px;
    padding: 10px 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
