* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
}
body {
  margin: 0;
  background: #f5f4f0;
  color: #222326;
  font:
    16px/1.55 Arial,
    sans-serif;
}
main {
  max-width: 960px;
  margin: auto;
  padding: 24px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #222326;
  color: #fff;
  padding: 25px 28px;
  border-radius: 18px;
}
header a,
header a.small {
  color: #ffe04a;
}
.brand {
  font-size: 42px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -2px;
}
.brand span {
  display: block;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: #fff;
  margin-top: 10px;
}
.intro {
  padding: 34px 8px 15px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: bold;
}
h1 {
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.1;
  margin: 10px 0 18px;
  letter-spacing: -1px;
}
h2 {
  font-size: 23px;
  margin: 0 0 15px;
}
h3 {
  font-size: 18px;
}
p {
  margin: 12px 0;
}
.panel {
  background: #fff;
  border: 1px solid #deded7;
  border-radius: 16px;
  padding: 26px;
  margin: 18px 0;
  box-shadow: 0 4px 12px #00000004;
}
label {
  display: block;
  font-weight: 600;
  margin: 12px 0;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  font: inherit;
  color: inherit;
  border: 1px solid #a3a5a7;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  margin-top: 6px;
}
textarea {
  resize: vertical;
}
button,
.button {
  font: inherit;
  font-weight: 600;
  border: 1px solid #9c9c98;
  background: #fff;
  color: #222326;
  border-radius: 8px;
  padding: 11px 16px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}
button:hover {
  background: #f3f2ed;
}
button:focus-visible,
a:focus-visible,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid #a88200;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.primary {
  background: #ffdb31;
  border-color: #edc800;
}
.primary:hover {
  background: #ffe575;
}
.plain {
  border: 0;
  background: transparent;
  text-decoration: underline;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 15px 0;
}
.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.small,
small,
footer {
  font-size: 13px;
  color: #5a5d5d;
}
a {
  color: #344958;
  text-underline-offset: 3px;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 400;
}
.check input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 3px 0 0;
}
.warning,
#notice {
  background: #fff1b6;
  border-left: 4px solid #bf8b00;
  padding: 12px 16px;
  border-radius: 7px;
  margin: 16px 0;
}
#notice:empty {
  display: none;
}
#notice.error {
  background: #fee9e8;
  border-color: #b62820;
}
.account {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
}
summary {
  cursor: pointer;
  font-weight: 700;
}
details[open] summary {
  margin-bottom: 12px;
}
.results {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}
.results button {
  text-align: left;
  font-size: 14px;
}
.price {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -1px;
}
.row {
  padding: 12px 0;
  border-bottom: 1px solid #e7e7e1;
}
.row button {
  width: 100%;
  text-align: left;
}
.badge {
  font-weight: 700;
  color: #374f43;
}
.pin {
  font-weight: bold;
  font-size: 36px;
  letter-spacing: 5px;
  white-space: pre-line;
}
.messages {
  max-height: 280px;
  overflow: auto;
}
.message {
  padding: 12px;
  background: #f2f3ed;
  border-radius: 8px;
  margin: 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message.mine {
  background: #fff5ca;
}
.message button {
  font-size: 12px;
  margin: 8px 5px 0 0;
}
footer {
  padding: 16px 8px;
}
#quoteSummary p,
#rideSummary p {
  overflow-wrap: anywhere;
}
[hidden] {
  display: none !important;
}
@media (max-width: 600px) {
  main {
    padding: 12px;
  }
  header {
    padding: 23px 20px;
    align-items: flex-start;
  }
  header > a.small {
    max-width: 110px;
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel {
    padding: 20px 16px;
  }
  .intro {
    padding-top: 24px;
  }
  .actions > button {
    flex-grow: 1;
  }
  button {
    min-height: 44px;
  }
}
dialog {
  border: 1px solid #ddd;
  border-radius: 16px;
  max-width: 520px;
  width: calc(100% - 32px);
  padding: 26px;
  color: #222;
  background: #fff;
}
dialog::backdrop {
  background: #0008;
}
