/* DL10 (HUB-403): the buyer's quote page (/q/:token), in the public booking page's style. */
.crm-public-quote {
  min-height: 100vh;
  padding: 32px 16px 48px;
  background: linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
  color: #101828;
  color-scheme: light;
}
/* Always light: the CRM's dark-theme heading colour must not reach it. */
.crm-public-quote h1,
.crm-public-quote h2 {
  color: #101828;
}
.crm-public-quote__card {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px;
  border: 1px solid #d0d5dd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.08);
}
.crm-public-quote__card--narrow {
  max-width: 480px;
}
.crm-public-quote__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #eaecf0;
}
.crm-public-quote__head p {
  margin: 0;
}
.crm-public-quote__seller {
  font-size: 18px;
  font-weight: 650;
}
.crm-public-quote__meta {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.crm-public-quote__muted {
  color: #667085;
  font-size: 13px;
}
.crm-public-quote__muted a {
  color: inherit;
}
.crm-public-quote h1 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.25;
}
.crm-public-quote__notice {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.crm-public-quote__notice.is-success {
  background: #dcfae6;
  color: #067647;
}
.crm-public-quote__notice.is-danger {
  background: #fee4e2;
  color: #b42318;
}
.crm-public-quote__notice.is-muted {
  background: #f2f4f7;
  color: #475467;
}
.crm-public-quote__message {
  margin: 0 0 18px;
  color: #475467;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.crm-public-quote__table-wrap {
  overflow-x: auto;
}
.crm-public-quote__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.crm-public-quote__table th {
  padding: 8px;
  border-bottom: 1px solid #d0d5dd;
  color: #475467;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
}
.crm-public-quote__table td {
  padding: 10px 8px;
  border-bottom: 1px solid #eaecf0;
  vertical-align: top;
}
.crm-public-quote__table .is-num {
  text-align: right;
  white-space: nowrap;
}
.crm-public-quote__item {
  display: block;
  font-weight: 500;
}
.crm-public-quote__desc {
  display: block;
  margin-top: 2px;
  white-space: pre-wrap;
}
.crm-public-quote__totals {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  gap: 6px 24px;
  margin: 16px 8px 0 0;
  font-size: 14px;
}
.crm-public-quote__totals dt {
  color: #475467;
  text-align: right;
}
.crm-public-quote__totals dd {
  margin: 0;
  text-align: right;
}
.crm-public-quote__totals .is-total {
  color: #101828;
  font-size: 17px;
  font-weight: 650;
}
.crm-public-quote__terms {
  margin-top: 24px;
  color: #344054;
  font-size: 14px;
  line-height: 1.5;
}
.crm-public-quote__step {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 650;
}
.crm-public-quote__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #eaecf0;
}
.crm-public-quote__pdf {
  color: #155eef;
  font-weight: 600;
  text-decoration: none;
}
.crm-public-quote__form {
  flex: 1 1 320px;
  max-width: 420px;
  margin-left: auto;
}
.crm-public-quote__field {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 600;
}
.crm-public-quote__field input,
.crm-public-quote__field textarea {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
}
.crm-public-quote__field textarea {
  resize: vertical;
}
.crm-public-quote__buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.crm-public-quote__buttons button {
  min-height: 40px;
  padding: 8px 20px;
  border: 1px solid #155eef;
  border-radius: 999px;
  background: #155eef;
  color: #fff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.crm-public-quote__buttons button.is-secondary {
  border-color: #d0d5dd;
  background: #fff;
  color: #101828;
}
.crm-public-quote__buttons button.is-danger {
  border-color: #d92d20;
  background: #d92d20;
}
.crm-public-quote__buttons button:disabled {
  opacity: 0.55;
  cursor: default;
}
.crm-public-quote__error {
  margin: 0 0 8px;
  color: #b42318;
  font-size: 13px;
}
@media (max-width: 560px) {
  .crm-public-quote__head {
    flex-direction: column;
  }
  .crm-public-quote__meta {
    text-align: left;
  }
}
