* {
  box-sizing: border-box;
}
html {
  background: #f1f5f5;
  color: #152f34;
  font:
    16px/1.5 "Segoe UI",
    Arial,
    sans-serif;
}
body {
  margin: 0;
}
main {
  max-width: 590px;
  min-height: 100vh;
  margin: auto;
  background: #fff;
  padding: 26px clamp(18px, 5vw, 42px) 50px;
}
header,
.total,
.line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
header {
  padding: 4px 0 20px;
  border-bottom: 1px solid #c8d6d6;
  letter-spacing: -0.04em;
  font-size: 22px;
}
header span {
  color: #517176;
  font-weight: 400;
}
small,
footer {
  font-size: 13px;
  color: #496568;
  letter-spacing: 0;
}
h1 {
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 30px 0 20px;
}
h2 {
  font-size: 22px;
  line-height: 1.25;
}
.card,
article {
  padding: 16px 18px;
  background: #edf5f4;
  border-radius: 16px;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.thread {
  display: grid;
  gap: 8px;
}
.thread article {
  width: fit-content;
  max-width: 94%;
}
.customer {
  justify-self: end;
  background: #deebfe;
}
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 24px;
}
form {
  margin: 8px 0;
}
.choices form {
  margin: 0;
}
button,
.cta {
  display: inline-block;
  border: 1px solid #8ba9a5;
  color: #174a48;
  background: white;
  border-radius: 12px;
  padding: 10px 15px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.primary,
button:hover,
.cta:hover {
  color: white;
  background: #10645d;
}
.primary {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px;
}
.cta {
  margin: 3px 0;
}
a {
  color: #135f67;
}
.card h2 {
  margin-top: 0;
}
.total {
  border-top: 1px solid #c6d9d4;
  padding-top: 14px;
}
.total strong {
  font-size: 24px;
}
.route,
.status {
  color: #31675e;
}
.status {
  font-weight: 600;
}
input {
  width: 100%;
  min-width: 0;
  padding: 11px;
  border: 1px solid #99afad;
  border-radius: 9px;
  font: inherit;
}
label {
  display: block;
  margin: 12px 0 4px;
}
.line button {
  flex: none;
}
footer {
  margin-top: 26px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #efab42;
  outline-offset: 2px;
}
img {
  display: block;
  max-width: 100%;
}
