:root {
  --ink: #1f1b16;
  --muted: #5c5750;
  --hairline: #dedad3;
  --paper: #faf6ec;
  --paper-deep: #f2ecde;
  --red: #c24938;
  --amber: #d29a4d;
  --green: #1a5934;
  --blue: #3667a8;
  --white: #fffdf8;
  --shadow: 0 1px 0 var(--hairline), 0 8px 24px rgba(31, 27, 22, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", "Aptos", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: var(--blue);
}

.shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.rail {
  background: var(--paper-deep);
  border-right: 1px solid var(--hairline);
  padding: 20px 16px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 16px;
}

.eyebrow,
.meta-label,
.table th,
.pill,
.button {
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0;
}

.eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.brand h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 24px;
  line-height: 1.16;
  margin: 8px 0 0;
}

.nav {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  min-height: 36px;
  padding: 8px 10px;
  text-align: left;
  width: 100%;
}

.button:hover,
.button:focus {
  border-color: var(--hairline);
  outline: none;
}

.button[aria-current="page"] {
  background: var(--white);
  border-color: var(--hairline);
  box-shadow: 0 1px 0 rgba(31, 27, 22, 0.03);
}

.dot {
  border-radius: 999px;
  display: inline-block;
  height: 7px;
  width: 7px;
}

.dot.ok {
  background: var(--green);
}

.dot.queue {
  background: var(--amber);
}

.content {
  padding: 28px;
}

.masthead {
  border-bottom: 1px solid var(--hairline);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 22px;
}

.masthead h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 30px;
  line-height: 1.18;
  margin: 0;
}

.summary {
  color: var(--muted);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  margin: 8px 0 0;
  max-width: 820px;
}

.meta-grid {
  align-content: start;
  border-left: 1px solid var(--hairline);
  display: grid;
  gap: 10px;
  min-width: 240px;
  padding-left: 18px;
}

.meta-row {
  display: grid;
  gap: 2px;
}

.meta-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.meta-value {
  font-size: 13px;
  line-height: 1.35;
}

.section-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 22px 0;
}

.panel {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.panel h3 {
  font-size: 13px;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 17px;
}

.list li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.table-wrap {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  box-shadow: var(--shadow);
  overflow-x: auto;
}

.table {
  border-collapse: collapse;
  min-width: 780px;
  width: 100%;
}

.table th,
.table td {
  border-bottom: 1px solid var(--hairline);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.table th {
  background: var(--paper-deep);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.table td {
  font-size: 13px;
  line-height: 1.45;
}

.table tr:last-child td {
  border-bottom: 0;
}

.table td:first-child {
  color: var(--ink);
  font-family: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  min-width: 190px;
}

.pill {
  border-left: 3px solid var(--blue);
  color: var(--muted);
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 7px;
  text-transform: uppercase;
}

.status-note {
  align-items: start;
  background: var(--paper-deep);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  display: grid;
  gap: 6px;
  grid-template-columns: auto minmax(0, 1fr);
  margin-top: 18px;
  padding: 12px 14px;
}

.status-note p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 920px) {
  .shell {
    display: block;
  }

  .rail {
    height: auto;
    position: relative;
  }

  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .masthead,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .meta-grid {
    border-left: 0;
    border-top: 1px solid var(--hairline);
    padding-left: 0;
    padding-top: 14px;
  }
}

@media (max-width: 560px) {
  .content {
    padding: 18px;
  }

  .nav {
    grid-template-columns: 1fr;
  }

  .masthead h2 {
    font-size: 24px;
  }
}
