:root {
  --bg: #f4f6f8;
  --panel: #fff;
  --text: #202124;
  --muted: #5f6368;
  --line: #d7dce1;
  --head: #eef2f5;
  --brand: #d31820;
  --focus: #1a73e8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 28px;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.brand img {
  display: block;
  width: 230px;
  max-width: 38vw;
  height: auto;
}

.heading h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
}

.heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.shell {
  width: min(1840px, calc(100vw - 32px));
  margin: 18px auto 32px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 12px;
}

.count {
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 9px;
}

.search {
  display: grid;
  gap: 5px;
  min-width: min(420px, 100%);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 11px;
  font-size: 15px;
  color: var(--text);
  background: var(--panel);
}

.search input:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}

.table-wrap {
  position: relative;
  overflow: auto;
  background: var(--panel);
  border: 1px solid var(--line);
}

table {
  width: max-content;
  border-collapse: collapse;
  min-width: 100%;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--head);
  color: #111;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid #111;
  white-space: nowrap;
}

th,
td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 7px 9px;
  font-size: 14px;
  line-height: 1.25;
  vertical-align: middle;
}

.col-tpw {
  width: 82px;
  min-width: 82px;
  max-width: 82px;
  text-align: center;
}

.col-awd {
  width: 58px;
  min-width: 58px;
  max-width: 58px;
  text-align: center;
}

.col-crew-cab {
  width: 92px;
  min-width: 92px;
  max-width: 92px;
  text-align: center;
}

.col-gm-order {
  min-width: 96px;
}

.col-vin {
  min-width: 165px;
}

.gm-doc-link {
  color: #0b57d0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.col-details {
  min-width: 310px;
}

tbody tr:nth-child(even) {
  background: #fafbfc;
}

tbody tr:hover {
  background: #fff4f4;
}

td {
  white-space: nowrap;
}

td:nth-child(1),
td:nth-child(2),
td:nth-child(4),
td:nth-child(5),
td:nth-child(7),
td:nth-child(8),
td:nth-child(9),
td:nth-child(10),
td:nth-child(11),
td:nth-child(12) {
  text-align: center;
}

.check-cell {
  text-align: center;
}

.checkmark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1f7a3a;
  color: #fff;
  font-weight: 700;
  line-height: 1;
}

.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }

  .brand img {
    max-width: 260px;
    width: 72vw;
  }

  .heading h1 {
    font-size: 22px;
  }

  .shell {
    width: calc(100vw - 20px);
    margin-top: 12px;
  }

  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .count {
    padding-bottom: 0;
  }
}
