.quote-reply-channel {
  grid-column: 1 / -1;
  display: grid;
  gap: .55rem;
  min-width: 0;
  margin: .25rem 0 1rem;
  padding: 0;
  border: 0;
  color: var(--text, #243142);
}

.quote-reply-channel legend {
  margin-bottom: .1rem;
  color: inherit;
  font-weight: 650;
}

.quote-reply-channel__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  min-width: 0;
}

.quote-reply-channel__option--cabinet { grid-column: 1 / -1; }

.quote-reply-channel__option {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 1.15rem;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  min-height: 4.35rem;
  margin: 0;
  padding: .68rem .7rem;
  border: 1px solid var(--line, #cbd5e1);
  border-radius: 10px;
  color: var(--text, #243142);
  background: var(--surface, #f3f6f8);
  cursor: pointer;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

/* More specific than the drawer/brief form's broad input rules. Keep native
   radios available to keyboard and assistive technology without layout impact. */
.quote-reply-channel .quote-reply-channel__option input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.quote-reply-channel__option:has(input[type="radio"]:checked) {
  border-color: var(--accent, #d63819);
  background: color-mix(in srgb, var(--accent, #d63819) 8%, var(--surface, #f3f6f8));
  box-shadow: inset 0 0 0 1px var(--accent, #d63819);
}

.quote-reply-channel__option:focus-within {
  outline: 3px solid color-mix(in srgb, var(--accent, #d63819) 32%, transparent);
  outline-offset: 2px;
}

.quote-reply-channel__icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  color: var(--accent, #d63819);
  background: color-mix(in srgb, var(--accent, #d63819) 12%, transparent);
}

.quote-reply-channel__icon svg { width: 1.15rem; height: 1.15rem; }

.quote-reply-channel__copy { display: grid; gap: .15rem; min-width: 0; }
.quote-reply-channel__title { font-weight: 700; line-height: 1.25; }
.quote-reply-channel__recommended { display: inline-block; margin-left: .35rem; padding: .12rem .42rem; border-radius: 999px; color: #fff; background: var(--accent, #d63819); font-size: .65rem; font-weight: 700; line-height: 1.35; vertical-align: .08em; }
.quote-reply-channel__hint { color: var(--text-2, #536174); font-size: .78rem; line-height: 1.3; overflow-wrap: anywhere; }
.quote-reply-channel__check { display: grid; place-items: center; width: 1.1rem; height: 1.1rem; border: 1px solid var(--line, #cbd5e1); border-radius: 50%; color: transparent; font-size: .72rem; line-height: 1; }
.quote-reply-channel__option:has(input[type="radio"]:checked) .quote-reply-channel__check { border-color: var(--accent, #d63819); color: #fff; background: var(--accent, #d63819); }
.quote-reply-channel__helper { min-height: 1.3em; margin: 0; color: var(--text-2, #536174); font-size: .82rem; line-height: 1.4; }
.quote-reply-channel__hint, .quote-reply-channel__helper { overflow-wrap: anywhere; }
.quote-reply-channel__noscript { color: var(--text-2, #536174); font-size: .85em; line-height: 1.4; }
.quote-reply-channel__error { margin: 0; color: var(--accent, #d63819); }
.quote-reply-channel__field-error { color: var(--accent, #d63819); }

.quote-procurement-fields {
  grid-column: 1 / -1;
  min-width: 0;
  padding: .75rem .85rem;
  border: 1px solid var(--line, #cbd5e1);
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface, #f3f6f8) 82%, transparent);
  color: var(--text, #243142);
}
.quote-procurement-fields > summary { cursor: pointer; font-weight: 700; line-height: 1.4; }
.quote-procurement-fields > summary span { color: var(--text-2, #536174); font-size: .84em; font-weight: 400; }
.quote-procurement-fields[open] > summary { margin-bottom: .85rem; }
.quote-procurement-fields__content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; min-width: 0; }
.quote-procurement-fields__field { display: grid; gap: .3rem; min-width: 0; color: var(--text, #243142); font-size: .9rem; font-weight: 600; }
.quote-procurement-fields__field--wide { grid-column: 1 / -1; }
.quote-procurement-fields .quote-procurement-fields__field :is(input, select, textarea) {
  box-sizing: border-box;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.7rem;
  margin: 0;
  padding: .62rem .72rem;
  border: 1px solid var(--line, #cbd5e1);
  border-radius: 7px;
  color: var(--text, #243142);
  background: var(--surface, #fff);
  font: inherit;
  font-weight: 400;
}
.quote-procurement-fields .quote-procurement-fields__field textarea { min-height: 5rem; resize: vertical; }
.quote-procurement-fields__field :is(input, select, textarea):focus-visible { outline: 2px solid var(--accent, #d63819); outline-offset: 2px; }
.quote-procurement-fields__error { color: var(--accent, #d63819); font-size: .82em; font-weight: 400; }

@media (max-width: 520px) {
  .quote-reply-channel__options { grid-template-columns: minmax(0, 1fr); }
  .quote-reply-channel__option--cabinet { grid-column: auto; }
  .quote-reply-channel__option { min-height: 3.8rem; }
  .quote-procurement-fields__content { grid-template-columns: minmax(0, 1fr); }
  .quote-procurement-fields__field--wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .quote-reply-channel__option { transition: none; }
}

/* Keep short contact fields compact next to taller form sections. */
.product-request__form > .product-request__field { align-self: start; align-content: start; }
