.abq-request-page .content-shell {
  padding: 48px 0 72px;
}

.abq-request-page .narrow-content {
  max-width: 1180px;
}

.abq-request-page article.page-card {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.abq-request-page article.page-card > .entry-header {
  display: none;
}

.abq-smart-system {
  width: 100%;
  max-width: 1060px;
  margin-inline: auto;
}

.abq-intake-hero {
  max-width: 780px;
  margin: 0 auto 30px;
  text-align: center;
}

.abq-intake-hero .abq-eyebrow {
  margin: 0 0 8px;
  color: var(--abq-gold);
  font-weight: 900;
}

.abq-intake-hero h1 {
  margin: 0;
  color: var(--abq-deep);
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.14;
  letter-spacing: -.035em;
}

.abq-intake-hero > p:not(.abq-eyebrow) {
  max-width: 650px;
  margin: 18px auto 0;
  color: #687a73;
  font-size: 17px;
  line-height: 1.9;
}

.abq-intake-trust {
  display: flex;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.abq-intake-trust span {
  display: inline-flex;
  padding: 7px 12px;
  align-items: center;
  gap: 6px;
  color: #315c4e;
  border: 1px solid #dce8e2;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 800;
}

.abq-intake-trust span::before {
  content: "✓";
  color: var(--abq-gold);
}

.abq-smart-form {
  max-width: 900px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #dbe5e0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(8, 44, 34, .11);
}

.abq-flow-progress {
  position: relative;
  display: grid;
  padding: 22px clamp(24px, 6vw, 64px);
  grid-template-columns: repeat(3, 1fr);
  color: rgba(255, 255, 255, .55);
  background: #082f24;
}

.abq-flow-progress::before {
  content: "";
  position: absolute;
  top: 40px;
  right: calc(16.66% + 20px);
  left: calc(16.66% + 20px);
  height: 1px;
  background: rgba(255, 255, 255, .14);
}

.abq-flow-progress span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}

.abq-flow-progress i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: #082f24;
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.abq-flow-progress b {
  font-size: 11px;
}

.abq-flow-progress .is-active,
.abq-flow-progress .is-complete {
  color: #fff;
}

.abq-flow-progress .is-active i {
  color: #082f24;
  border-color: #e4c67d;
  background: #e4c67d;
  box-shadow: 0 0 0 6px rgba(228, 198, 125, .11);
}

.abq-flow-progress .is-complete i {
  color: #fff;
  border-color: #39715f;
  background: #1c5946;
}

.abq-flow-panel {
  padding: clamp(28px, 6vw, 60px);
  animation: abqFlowIn .32s ease;
}

.abq-flow-panel[hidden] {
  display: none !important;
}

@keyframes abqFlowIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.abq-conversation-question {
  display: flex;
  margin-bottom: 24px;
  align-items: flex-start;
  gap: 15px;
}

.abq-question-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  background: linear-gradient(145deg, #1d604b, #083328);
  box-shadow: 0 10px 25px rgba(8, 44, 34, .16);
}

.abq-conversation-question small,
.abq-result-heading small,
.abq-final-heading > small,
.abq-section-title small {
  color: var(--abq-gold);
  font-weight: 900;
}

.abq-conversation-question h3,
.abq-result-heading h3,
.abq-final-heading h3 {
  margin: 2px 0 4px;
  color: var(--abq-deep);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.35;
}

.abq-conversation-question p,
.abq-final-heading p {
  margin: 0;
  color: #71837b;
}

.abq-story-box {
  display: block;
  overflow: hidden;
  border: 2px solid #dce6e1;
  border-radius: 20px;
  background: #fdfcf9;
  transition: border-color .2s, box-shadow .2s;
}

.abq-story-box:focus-within {
  border-color: #b78a38;
  box-shadow: 0 0 0 5px rgba(183, 138, 56, .1);
}

.abq-story-box textarea {
  display: block;
  width: 100%;
  min-height: 240px;
  padding: 23px;
  resize: vertical;
  color: #173d31;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 17px;
  line-height: 2;
}

.abq-story-box textarea::placeholder {
  color: #9aa8a2;
}

.abq-story-footer {
  display: flex;
  min-height: 48px;
  padding: 11px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #7a8b83;
  border-top: 1px solid #e8eeeb;
  background: #f8faf8;
}

.abq-story-footer b {
  color: #315c4e;
  font-size: 11px;
  white-space: nowrap;
}

.abq-story-footer small {
  font-size: 10px;
}

.abq-voice-row {
  display: flex;
  margin: 16px 0 22px;
  align-items: center;
  gap: 12px;
}

.abq-voice-button {
  display: inline-flex;
  min-height: 44px;
  padding: 9px 15px;
  align-items: center;
  gap: 9px;
  color: var(--abq-green);
  border: 1px solid #d6e2dc;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.abq-voice-button i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b78a38;
}

.abq-voice-button.is-recording {
  color: #8c3129;
  border-color: #e7bcb7;
  background: #fff3f1;
}

.abq-voice-button.is-recording i {
  background: #bc3e34;
  animation: abqVoicePulse 1s infinite;
}

.abq-voice-button:disabled {
  cursor: not-allowed;
  opacity: .52;
}

.abq-voice-row small,
.abq-local-note {
  color: #7a8b83;
  font-size: 11px;
}

.abq-analyze-button {
  width: 100%;
  min-height: 58px !important;
  font-size: 16px;
}

.abq-analyze-button span {
  margin-inline-end: 7px;
  color: #e4c67d;
}

.abq-analyze-button.is-loading span {
  animation: abqSpin 1s linear infinite;
}

.abq-local-note {
  margin: 12px 0 0;
  text-align: center;
}

.abq-ai-consent {
  max-width: 680px;
  margin: 8px auto 0;
  color: #829189;
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
}

.abq-ai-consent a {
  color: #215d4a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.abq-result-heading {
  display: grid;
  margin-bottom: 24px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
}

.abq-result-heading > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #1c604a;
  font-weight: 900;
}

.abq-result-heading > b {
  padding: 8px 11px;
  color: #315e4f;
  border-radius: 999px;
  background: #e9f3ee;
  font-size: 11px;
  white-space: nowrap;
}

.abq-understood-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 25px;
  color: #fff;
  border-radius: 20px;
  background: radial-gradient(circle at 8% 15%, rgba(228, 198, 125, .2), transparent 15rem), #0a372b;
}

.abq-understood-card::after {
  content: "✦";
  position: absolute;
  bottom: -24px;
  left: 15px;
  color: rgba(255, 255, 255, .07);
  font-size: 100px;
}

.abq-understood-card p {
  margin: 0;
  color: #e4c67d;
  font-size: 11px;
  font-weight: 900;
}

.abq-understood-card h4 {
  position: relative;
  z-index: 1;
  margin: 4px 0 10px;
  color: #fff;
  font-size: clamp(22px, 4vw, 30px);
}

.abq-understood-card div {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: rgba(255, 255, 255, .73);
  line-height: 1.85;
}

.abq-correction-note {
  margin: -4px 0 16px;
  padding: 10px 13px;
  color: #315e4f;
  border: 1px solid #d9e9e1;
  border-radius: 12px;
  background: #eef7f2;
  font-size: 10px;
  line-height: 1.7;
}

.abq-correction-note[hidden] {
  display: none !important;
}

.abq-missing-compact {
  margin-bottom: 25px;
  overflow: hidden;
  border: 1px solid #eadcb8;
  border-radius: 14px;
  background: #fffaf0;
}

.abq-missing-compact[hidden] {
  display: none !important;
}

.abq-missing-compact > button {
  display: flex;
  width: 100%;
  padding: 13px 16px;
  align-items: center;
  justify-content: space-between;
  color: #735a24;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.abq-missing-compact > button b {
  flex: 0 0 auto;
  font-size: 10px;
  white-space: nowrap;
}

.abq-missing-content {
  padding: 0 16px 16px;
}

.abq-missing-content[hidden] {
  display: none !important;
}

.abq-missing-content > p {
  margin: 0 0 12px;
  color: #735a24;
  font-size: 12px;
  line-height: 1.8;
}

.abq-missing-fields {
  display: grid;
  margin-bottom: 12px;
  gap: 10px;
}

.abq-missing-question {
  display: grid;
  gap: 6px;
}

.abq-missing-question span {
  color: var(--abq-deep);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.abq-missing-question textarea {
  width: 100%;
  min-height: 74px;
  padding: 10px 12px;
  resize: vertical;
  color: var(--abq-deep);
  border: 1px solid #decfa9;
  border-radius: 10px;
  outline: none;
  background: #fff;
  font: inherit;
  font-size: 12px;
  line-height: 1.7;
}

.abq-missing-question textarea:focus {
  border-color: var(--abq-green);
  box-shadow: 0 0 0 3px rgba(15, 88, 69, .1);
}

.abq-missing-content .abq-refine-button {
  width: auto;
  min-height: 42px;
  padding: 9px 16px;
  font-size: 12px;
}

.abq-missing-content > small {
  display: block;
  margin-top: 8px;
  color: #806d46;
  font-size: 10px;
  line-height: 1.7;
}

.abq-recipient-suggestions {
  margin-top: 8px;
}

.abq-section-title {
  display: flex;
  margin-bottom: 14px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.abq-section-title h4 {
  margin: 3px 0 0;
  color: var(--abq-deep);
  font-size: 23px;
}

.abq-section-title > span {
  color: #7d8c85;
  font-size: 10px;
  white-space: nowrap;
}

.abq-suggestion-list {
  display: grid;
  gap: 10px;
}

.abq-suggestion-list > button,
.abq-team-choice {
  position: relative;
  display: grid;
  width: 100%;
  padding: 15px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 13px;
  text-align: right;
  color: inherit;
  border: 1px solid #dce5e1;
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
  font: inherit;
  transition: border-color .2s, background .2s, transform .2s;
}

.abq-suggestion-list > button:hover,
.abq-team-choice:hover {
  transform: translateY(-1px);
  border-color: #b78a38;
}

.abq-suggestion-list > button.is-selected,
.abq-team-choice.is-selected {
  border-color: #b78a38;
  background: #fbf6e9;
  box-shadow: 0 0 0 3px rgba(183, 138, 56, .1);
}

.abq-suggestion-list > button > span {
  display: flex;
  width: 48px;
  align-items: center;
  flex-direction: column;
  gap: 2px;
}

.abq-suggestion-list > button > span b {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  border-radius: 10px;
  background: #174a3b;
}

.abq-suggestion-list > button > span small {
  color: #9a752d;
  font-size: 8px;
  font-weight: 900;
}

.abq-suggestion-list strong,
.abq-team-choice strong {
  display: block;
  color: #153d31;
  font-size: 14px;
}

.abq-suggestion-list p {
  margin: 3px 0 0;
  color: #74857e;
  font-size: 10px;
  line-height: 1.7;
}

.abq-suggestion-list > button > i {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: transparent;
  border: 1px solid #cfdad5;
  border-radius: 50%;
  font-size: 11px;
  font-style: normal;
}

.abq-suggestion-list > button.is-selected > i {
  color: #fff;
  border-color: #174a3b;
  background: #174a3b;
}

.abq-team-choice {
  margin-top: 10px;
  padding-block: 12px;
  background: #f7faf8;
}

.abq-team-choice > span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #174a3b;
  border-radius: 11px;
  background: #e4eee9;
  font-weight: 900;
}

.abq-team-choice small {
  display: block;
  margin-top: 2px;
  color: #77877f;
  font-size: 9px;
}

.abq-guidance-disclaimer {
  margin: 10px 0 22px;
  color: #84928c;
  font-size: 9px;
  text-align: center;
}

.abq-draft-preview,
.abq-optional-details {
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid #dce5e1;
  border-radius: 15px;
  background: #fff;
}

.abq-draft-preview summary,
.abq-optional-details summary {
  display: flex;
  padding: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
}

.abq-draft-preview summary::-webkit-details-marker,
.abq-optional-details summary::-webkit-details-marker {
  display: none;
}

.abq-draft-preview summary span {
  display: block;
  color: #183f33;
  font-size: 13px;
  font-weight: 900;
}

.abq-draft-preview summary small {
  display: block;
  margin-top: 2px;
  color: #82908a;
  font-size: 9px;
}

.abq-draft-preview summary b {
  color: #a47b31;
  font-size: 10px;
  white-space: nowrap;
}

.abq-draft-preview .abq-field {
  padding: 0 16px 16px;
}

.abq-draft-preview textarea {
  min-height: 300px;
  line-height: 2;
}

.abq-draft-approval {
  display: flex;
  margin-top: 12px;
  padding: 16px;
  align-items: flex-start;
  gap: 12px;
  color: #385b50;
  border: 1px solid #dfd4b8;
  border-radius: 15px;
  background: #fffbf1;
  cursor: pointer;
  transition: border-color .2s, background .2s, opacity .2s;
}

.abq-draft-approval.is-locked {
  cursor: not-allowed;
  opacity: .62;
}

.abq-draft-approval.is-approved {
  border-color: #78a493;
  background: #edf7f2;
}

.abq-draft-approval input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex: 0 0 20px;
  accent-color: #174a3b;
}

.abq-draft-approval strong,
.abq-draft-approval small {
  display: block;
}

.abq-draft-approval strong {
  color: #173f33;
  font-size: 13px;
}

.abq-draft-approval small {
  margin-top: 5px;
  color: #71827b;
  font-size: 9px;
  line-height: 1.8;
}

.abq-flow-actions {
  display: flex;
  margin-top: 24px;
  justify-content: flex-end;
  gap: 10px;
}

.abq-flow-actions .abq-button-primary {
  min-width: 230px;
}

.abq-final-heading {
  margin-bottom: 24px;
  text-align: center;
}

.abq-final-heading p {
  margin-top: 5px;
}

.abq-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.abq-smart-form .abq-field {
  min-width: 0;
  margin: 0;
}

.abq-optional-details {
  margin-top: 18px;
  background: #fafbf9;
}

.abq-optional-details summary {
  color: #365c4f;
  font-size: 12px;
  font-weight: 800;
}

.abq-optional-details summary span {
  font-size: 19px;
}

.abq-optional-content {
  display: grid;
  padding: 0 16px 16px;
  gap: 16px;
}

.abq-optional-content .abq-upload {
  min-height: 150px;
  padding: 20px;
}

.abq-order-summary {
  display: grid;
  margin-top: 22px;
  padding: 22px;
  align-items: center;
  grid-template-columns: 1fr auto;
  gap: 20px;
  color: #fff;
  border-radius: 18px;
  background: radial-gradient(circle at 8% 25%, rgba(228, 198, 125, .18), transparent 12rem), #0a372b;
}

.abq-order-summary > div:first-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.abq-order-summary small {
  color: rgba(255, 255, 255, .62);
  font-size: 9px;
}

.abq-order-summary > div:first-child strong {
  color: #fff;
  overflow-wrap: anywhere;
}

.abq-approved-status {
  width: fit-content;
  margin-top: 7px;
  padding: 5px 8px;
  color: #e7d295;
  border: 1px solid rgba(231, 210, 149, .25);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 800;
}

.abq-final-price {
  padding-inline-start: 22px;
  text-align: center;
  border-inline-start: 1px solid rgba(255, 255, 255, .14);
}

.abq-final-price strong {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  color: #fff;
  font-size: 38px;
  line-height: 1;
}

.abq-final-price span {
  color: #e4c67d;
  font-size: 12px;
}

.abq-payment-note {
  margin: 10px 0 0;
  color: #70827a;
  font-size: 10px;
  text-align: center;
}

.abq-smart-form .abq-terms {
  margin-top: 20px;
  font-size: 11px;
}

@keyframes abqVoicePulse {
  50% { box-shadow: 0 0 0 8px rgba(188, 62, 52, .08); }
}

@keyframes abqSpin {
  to { transform: rotate(1turn); }
}

@media (max-width: 680px) {
  .abq-request-page .content-shell {
    padding: 26px 0 54px;
  }

  .abq-intake-hero {
    margin-bottom: 22px;
  }

  .abq-intake-hero h1 {
    font-size: clamp(34px, 11vw, 48px);
  }

  .abq-intake-hero > p:not(.abq-eyebrow) {
    font-size: 14px;
    line-height: 1.8;
  }

  .abq-smart-form {
    border-radius: 21px;
  }

  .abq-flow-progress {
    padding: 18px 12px;
  }

  .abq-flow-progress::before {
    top: 35px;
  }

  .abq-flow-progress i {
    width: 34px;
    height: 34px;
  }

  .abq-flow-progress b {
    font-size: 9px;
  }

  .abq-flow-panel {
    padding: 25px 18px;
  }

  .abq-conversation-question {
    gap: 11px;
  }

  .abq-question-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }

  .abq-conversation-question h3,
  .abq-result-heading h3,
  .abq-final-heading h3 {
    font-size: 23px;
  }

  .abq-conversation-question p {
    font-size: 12px;
  }

  .abq-story-box textarea {
    min-height: 215px;
    padding: 18px;
    font-size: 16px;
  }

  .abq-story-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .abq-voice-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .abq-result-heading {
    grid-template-columns: auto 1fr;
  }

  .abq-result-heading > b {
    grid-column: 2;
    justify-self: start;
  }

  .abq-section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .abq-suggestion-list > button,
  .abq-team-choice {
    padding: 13px 11px;
    gap: 9px;
  }

  .abq-suggestion-list > button > span {
    width: 38px;
  }

  .abq-suggestion-list strong,
  .abq-team-choice strong {
    font-size: 13px;
  }

  .abq-flow-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .abq-flow-actions .abq-button {
    width: 100%;
    min-width: 0;
  }

  .abq-contact-grid,
  .abq-order-summary {
    grid-template-columns: 1fr;
  }

  .abq-final-price {
    padding: 15px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-inline-start: 0;
  }
}

@media (max-width: 360px) {
  .abq-flow-panel {
    padding-inline: 14px;
  }

  .abq-intake-trust span {
    padding-inline: 9px;
    font-size: 9px;
  }

  .abq-flow-progress b {
    font-size: 8px;
  }

  .abq-suggestion-list p {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .abq-flow-panel,
  .abq-voice-button.is-recording i,
  .abq-analyze-button.is-loading span {
    animation: none !important;
  }
}

.abq-refine-done {
  margin: 0;
  padding: 0 16px 13px;
  color: var(--abq-green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.7;
}

.abq-refine-done[hidden] {
  display: none !important;
}

.abq-recipient-mismatch {
  margin: 0 0 14px;
  padding: 12px 14px;
  color: #8a3a12;
  border: 1px solid #f0c9a8;
  border-radius: 12px;
  background: #fff6ef;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.abq-recipient-mismatch[hidden] {
  display: none !important;
}

.abq-preset-recipient {
  margin: 14px 0 0;
  padding: 10px 14px;
  color: var(--abq-green);
  border: 1px solid #cfe3d8;
  border-radius: 12px;
  background: #f2f9f5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
}

.abq-preset-recipient strong {
  color: var(--abq-deep);
}

.abq-name-field {
  display: grid;
  margin-bottom: 16px;
  gap: 6px;
}

.abq-name-field input {
  width: 100%;
  padding: 12px 14px;
  color: var(--abq-deep);
  border: 1px solid #decfa9;
  border-radius: 12px;
  outline: none;
  background: #fff;
  font: inherit;
  font-size: 14px;
}

.abq-name-field input:focus {
  border-color: var(--abq-green);
  box-shadow: 0 0 0 3px rgba(15, 88, 69, .1);
}

.abq-suggestion-list button.is-pinned {
  border-color: #e2d3a8;
  background: linear-gradient(180deg, #fffdf6 0%, #fffaf0 100%);
}

.abq-suggestion-list button.is-pinned small {
  color: #8a6425;
}

/* The draft is shown outright now — no disclosure step before the approval. */
.abq-draft-preview.is-open { padding: 16px; }
.abq-draft-head { display: grid; margin-bottom: 12px; gap: 3px; }
.abq-draft-head span { color: var(--abq-deep); font-size: 14px; font-weight: 800; }
.abq-draft-head small { color: #6f6247; font-size: 11px; line-height: 1.7; }
.abq-draft-preview.is-open textarea { min-height: 420px; }

/* The approved letter is handed over on the success screen, print-ready. */
.abq-final-letter {
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid #e4d9bd;
  border-radius: 16px;
  background: #fffdf7;
}

.abq-final-letter-head {
  display: flex;
  padding: 14px 18px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #efe6d0;
  background: #fbf6ea;
}

.abq-final-letter-head span {
  display: block;
  color: var(--abq-deep);
  font-size: 14px;
  font-weight: 800;
}

.abq-final-letter-head small {
  color: #7a6a48;
  font-size: 11px;
}

.abq-letter-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.abq-letter-tools .abq-button {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 12px;
}

.abq-letter-body {
  padding: 26px 30px;
  color: #1d2b25;
  background: #fff;
  font-size: 15px;
  line-height: 2.15;
  text-align: justify;
}

@media print {
  body * { visibility: hidden !important; }
  .abq-final-letter, .abq-final-letter * { visibility: visible !important; }
  .abq-final-letter {
    position: absolute;
    inset: 0;
    margin: 0;
    border: 0;
    background: #fff;
  }
  .abq-final-letter-head { display: none !important; }
  .abq-letter-body { padding: 0; font-size: 14pt; line-height: 2; }
}

.abq-success-icon.abq-icon-warn { background: #b54708; }
.abq-pay-now { min-width: 240px; margin-top: 6px; font-size: 15px; }

.abq-coupon { margin: 4px 0 14px; }
.abq-coupon-row { display: flex; gap: 8px; }
.abq-coupon-row input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; letter-spacing: .5px; }
.abq-coupon-row .abq-button { flex: 0 0 auto; min-height: 44px; padding: 8px 18px; }
.abq-coupon-msg { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; color: #6f6247; }
.abq-coupon-msg.is-ok { color: var(--abq-green); }
.abq-coupon-msg.is-bad { color: #b42318; }
.abq-price-was { display: block; color: #9a8d72; font-size: 13px; text-decoration: line-through; }
.abq-price-was[hidden] { display: none !important; }

/* identity + supporting documents */
.abq-docs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 6px;
}
.abq-docs-grid .abq-upload {
  position: relative;
  min-height: 170px;
  padding: 20px;
}
.abq-id-upload {
  border-style: solid;
  border-color: rgba(16, 60, 48, .35);
  background: #fff;
}
.abq-id-upload strong em {
  color: #b42318;
  font-style: normal;
}
.abq-id-upload.is-valid {
  border-color: #087f5b;
  background: #f3fbf7;
}
.abq-id-upload.is-invalid {
  border-color: #c92a2a;
  background: #fff6f5;
}
.abq-id-upload.is-invalid [data-id-status] {
  color: #c92a2a;
}
.abq-id-upload.is-valid [data-id-status] {
  color: #087f5b;
}
.abq-id-preview img {
  display: block;
  max-width: 100%;
  max-height: 120px;
  margin-top: 10px;
  border-radius: 10px;
  border: 1px solid rgba(16, 60, 48, .15);
}
[data-identity-msg].is-bad {
  color: #c92a2a;
}
[data-identity-msg].is-ok {
  color: #087f5b;
}
@media (max-width: 640px) {
  .abq-docs-grid {
    grid-template-columns: 1fr;
  }
}

/* payment method choice */
.abq-pay-choice { display: grid; gap: 10px; margin: 16px 0 6px; }
.abq-pay-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 60, 48, .18);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.abq-pay-option:has(input:checked) {
  border-color: #0f5845;
  background: #f3fbf7;
  box-shadow: 0 0 0 1px #0f5845 inset;
}
.abq-pay-option input { margin-top: 4px; }
.abq-pay-option strong { display: block; font-size: 14px; }
.abq-pay-option small { display: block; margin-top: 2px; color: #788980; font-size: 12px; }

.abq-coupon-auto {
  margin: 0 0 8px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f3fbf7;
  border: 1px solid rgba(8, 127, 91, .35);
  color: #087f5b;
  font-size: 13px;
  font-weight: 600;
}

/* why a payment did not go through */
.abq-pay-reason { margin: 4px 0 6px; color: #b42318; font-size: 15px; }
.abq-pay-reason-box {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid rgba(180, 35, 24, .25);
  border-radius: 12px;
  background: #fff6f5;
}
.abq-pay-reason-box p { margin: 0 0 6px; font-size: 14px; line-height: 1.8; }
.abq-pay-reason-box p:last-child { margin: 0; color: #5b6b63; }

/* card form rendered inside our own page */
.abq-card-pay {
  margin: 18px 0;
  padding: 20px;
  border: 1px solid rgba(16, 60, 48, .18);
  border-radius: 16px;
  background: #fff;
  text-align: start;
}
.abq-card-pay h3 { margin: 0 0 4px; font-size: 16px; }
.abq-card-sub { margin: 0 0 14px; color: #788980; font-size: 12.5px; line-height: 1.7; }
.abq-card-fields { min-height: 90px; margin-bottom: 14px; }
.abq-card-submit { width: 100%; }
.abq-card-msg { margin: 10px 0 0; color: #0f5845; font-size: 13px; min-height: 18px; }
.abq-card-msg.is-bad { color: #b42318; }
