/* The editor follows the same order in the document and on small screens. */
#main .buyer-question {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  grid-template-areas: "heading heading" "start context";
  gap: clamp(25px, 3vw, 40px) clamp(32px, 6vw, 92px);
  align-items: start;
  width: min(100% - clamp(36px, 8vw, 128px), 1192px);
  margin: 0 auto;
  padding: clamp(46px, 6.8vw, 94px) 0;
  border-bottom: 1px solid #cbd3dc;
  color: #152236;
  scroll-margin-top: 76px;
}
#main .buyer-question > h2 {
  grid-area: heading;
  max-width: 25em;
  margin: 0;
  font-size: clamp(29px, 3.2vw, 46px);
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.22;
  overflow-wrap: anywhere;
  text-wrap: balance;
  word-break: keep-all;
}
#main .buyer-question-start { grid-area: start; min-width: 0; }
#main .buyer-question-context { grid-area: context; min-width: 0; }
#main .buyer-question-field-label,
#main .buyer-question-prompts-label {
  display: block;
  margin: 0 0 8px;
  color: #24354a;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}
#main .buyer-question-field { margin-top: 20px; }
#main .buyer-question :is(input, textarea, select) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #768a9e;
  border-radius: 2px;
  background-color: #fff;
  color: #19293a;
  font: inherit;
  font-size: 16px;
}
#main .buyer-question textarea { resize: vertical; line-height: 1.5; }
#main .buyer-question :is(input, textarea)::placeholder { color: #546477; opacity: 1; }
#main .buyer-question :is([data-buyer-edit-hint], .buyer-question-fallback) {
  margin: 8px 0 0;
  color: #45576b;
  font-size: 14px;
  line-height: 1.5;
}
#main .buyer-question [data-industry-prompts] { border-top: 1px solid #b6c4d0; }
#main .buyer-question [data-prompt] {
  position: relative;
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 28px 12px 4px;
  border: 0;
  border-bottom: 1px solid #cbd3dc;
  border-radius: 0;
  background: transparent;
  color: #253d58;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  text-align: start;
  overflow-wrap: anywhere;
}
#main .buyer-question [data-prompt]::after {
  content: "";
  position: absolute;
  right: 6px;
  top: calc(50% - 3px);
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
#main .buyer-question [data-prompt]:is(:hover, :focus-visible, [aria-pressed="true"]) {
  background: #ecf2f8;
  color: #163e73;
}
#main .buyer-question-example { padding: 0; border: 0; background: #eff3f6; }
#main .buyer-question-example summary {
  min-height: 48px;
  padding: 14px clamp(16px, 2vw, 28px);
  color: #354d66;
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
}
#main .buyer-question-example-body { padding: 0 clamp(16px, 2vw, 28px) 10px; }
#main .buyer-question-example h3 {
  margin: 4px 0 0;
  color: #152236;
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
#main .buyer-question-caption { margin: 16px 0 12px; color: #435569; font-size: 15px; }
#main .buyer-question-caption small { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 650; }
#main .buyer-question-results { margin: 0; }
#main .buyer-question-results > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid #c6d0da;
}
#main .buyer-question-results dt { font-size: 17px; font-weight: 650; }
#main .buyer-question-results small { margin-inline-start: .4em; color: #546477; font-size: 13px; font-weight: 500; }
#main .buyer-question-results dd { margin: 0; font-size: 15px; text-align: end; }
#main .buyer-question-results > div:last-child dd { color: #164c8c; font-weight: 700; }
#main .buyer-question-study {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  margin-top: 4px;
  color: #335472;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#main .buyer-question-apply {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  gap: 14px;
  min-height: 46px;
  margin-top: 16px;
  padding: 8px 19px;
  color: #fff;
  background: #193f73;
  font-size: 16px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
#main .buyer-question-apply:hover { background: #102e59; }
#main .buyer-question :is(a, input, textarea, button, select, summary):focus-visible { outline: 3px solid #2266b2; outline-offset: 3px; }
#main .buyer-question-fallback a { color: #173e76; text-decoration: underline; }
#main .buyer-question-fallback { padding: 12px 16px; border-inline-start: 3px solid #194d82; background: #f1f5f8; }
#main .buyer-question-fallback p { margin: 0; }
#main .buyer-question-fallback :is(a, button) {
  display: inline-flex; align-items: center; min-height: 44px; margin-inline-end: 12px;
  padding: 0; border: 0; background: transparent; color: #173e76; font: inherit;
  font-weight: 650; text-decoration: underline; text-underline-offset: .2em; cursor: pointer;
}
#main .buyer-question-fallback [data-copy-status]:empty { display: none; }
#main .buyer-question [hidden] { display: none; }
@media (min-width: 761px) {
  #main .buyer-question[data-has-industry] {
    grid-template-areas: "heading heading" "industry suggestions" "field suggestions" "apply context" "fallback context";
    row-gap: 16px;
  }
  #main .buyer-question[data-has-industry] > h2 { margin-bottom: clamp(8px, 1.5vw, 24px); }
  #main .buyer-question[data-has-industry] :is(.buyer-question-start, [data-buyer-industry-ui]:not([hidden])) { display: contents; }
  #main .buyer-question-industry-field { grid-area: industry; min-width: 0; }
  #main .buyer-question-suggestions { grid-area: suggestions; min-width: 0; }
  #main .buyer-question[data-has-industry] .buyer-question-field { grid-area: field; min-width: 0; margin: 0; }
  #main .buyer-question[data-has-industry] .buyer-question-apply { grid-area: apply; margin: 0; }
  #main .buyer-question[data-has-industry] .buyer-question-fallback { grid-area: fallback; margin: 0; }
}
@media (max-width: 760px) {
  #main .buyer-question {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "heading" "start" "context";
    gap: 22px;
  }
  #main .buyer-question[data-has-industry] .buyer-question-suggestions { margin-top: 20px; }
  #main .buyer-question-apply { width: 100%; }
}
@media (forced-colors: active) {
  #main .buyer-question :is(.buyer-question-apply, [data-prompt]) { border: 1px solid ButtonText; }
}
