.quote-short {
  --quote-ink: #272124;
  --quote-accent: #85172b;
  --quote-muted: #62565b;
  width: min(100% - 32px, 680px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) 0 42px;
  color: var(--quote-ink);
}

.quote-short [hidden] {
  display: none !important;
}

.quote-short #quote-intro {
  margin-bottom: 16px;
}

.quote-short h1 {
  margin: 0 0 7px;
  color: var(--quote-accent);
  font-size: clamp(29px, 4.5vw, 43px);
  line-height: 1.12;
}

.quote-short #quote-intro p {
  margin: 0;
  color: var(--quote-muted);
  line-height: 1.45;
}

.quote-short-form {
  padding: clamp(16px, 3.3vw, 28px);
  background: #fff;
  border: 1px solid #e7dcdf;
  border-radius: 14px;
}

.quote-short-form label {
  display: block;
  margin: 0 0 5px;
  font-weight: 700;
  line-height: 1.3;
}

.quote-short-form :is(input, select, textarea) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 45px;
  padding: 9px 11px;
  font: inherit;
  font-size: 16px;
  color: var(--quote-ink);
  background: #fff;
  border: 1px solid #a9989f;
  border-radius: 8px;
}

.quote-short-form textarea {
  min-height: 100px;
  resize: vertical;
}

.quote-short :is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--quote-accent);
  outline-offset: 2px;
}

.quote-short-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}

.quote-short-hint,
.quote-short-privacy {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--quote-muted);
}

.quote-short-privacy {
  margin: 10px 0 12px;
}

.quote-short :is(.quote-short-privacy, .quote-short-help) a {
  color: var(--quote-accent);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.quote-short-send,
.quote-short-receipt {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid var(--quote-accent);
  border-radius: 8px;
  background: var(--quote-accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.quote-short-send:disabled {
  opacity: .65;
  cursor: default;
}

.quote-short-error {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-inline-start: 3px solid #a01c34;
  color: #85172b;
  background: #fff0f2;
  line-height: 1.45;
}

.quote-short-import {
  margin: 0 0 8px;
  font-size: 14px;
}

.quote-short-import button {
  padding: 7px 10px;
  color: var(--quote-accent);
  background: #fbf3f4;
  border: 1px solid #d7b8c0;
  border-radius: 7px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.quote-short-import span:not(:empty) {
  display: block;
  margin-top: 5px;
}

.quote-short-success {
  padding: clamp(20px, 5vw, 38px);
  border: 2px solid #36805c;
  border-radius: 14px;
  background: #eef8f1;
  color: #18422e;
  text-align: center;
}

.quote-short-check {
  display: inline-grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #21603f;
  font-size: 23px;
}

.quote-short-success h2 {
  color: inherit;
  margin: 9px 0 12px;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.15;
}

.quote-short-reference {
  display: grid;
  justify-items: center;
  gap: 1px;
  margin: 0;
  padding: 8px 0;
  font-weight: 700;
}

.quote-short-reference strong {
  color: #18422e;
  font-size: clamp(36px, 9vw, 56px);
  font-variant-numeric: tabular-nums;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.quote-short-success p:not(.quote-short-reference) {
  margin: 8px 0 15px;
}

.quote-short-receipt {
  color: #fff;
  background: #21603f;
  border-color: #21603f;
}

.quote-short-help {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 11px;
  margin: 13px 0 0;
  font-size: 14px;
}

@media (max-width: 540px) {
  .quote-short-contacts {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 12px 0;
  }

  .quote-short-send {
    width: 100%;
  }
}
