* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  min-height: 100%;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: #f6f4ef;
  color: #1c1917;
}
code {
  font-size: 0.9em;
}
.top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid #e7e5e4;
}
.brand img {
  height: 36px;
  width: auto;
  display: block;
}
.env {
  color: #78716c;
  font-size: 0.85rem;
}
.session {
  margin-left: auto;
  font-size: 0.9rem;
  color: #44403c;
}
main {
  max-width: 880px;
  margin: 2rem auto;
  padding: 0 1rem 3rem;
}
.card {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  padding: 1.5rem;
}
h1 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.lede,
.muted {
  color: #78716c;
  line-height: 1.45;
  margin-bottom: 1rem;
}
form {
  display: grid;
  gap: 0.75rem;
}
.search {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  align-items: end;
  margin: 1rem 0;
}
label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #57534e;
  letter-spacing: 0.04em;
}
label > span {
  text-transform: uppercase;
}
input {
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: #1c1917;
  text-transform: none;
}
.search input[name='origin'],
.search input[name='destination'] {
  text-transform: uppercase;
}
.search select {
  border: 1px solid #d6d3d1;
  border-radius: 8px;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: #1c1917;
  background: #fff;
}
button {
  background: #1c1917;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 0.65rem 1rem;
  font: inherit;
  cursor: pointer;
}
button:hover {
  background: #44403c;
}
button.linkish {
  background: none;
  color: #1d4ed8;
  padding: 0;
}
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.err {
  color: #b91c1c;
  font-size: 0.9rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th,
td {
  text-align: left;
  padding: 0.5rem 0.35rem;
  border-bottom: 1px solid #e7e5e4;
}
th {
  color: #78716c;
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.muted.tight {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
}
td.price {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
}
