.media-quotes {
  color: #0b0b12;
  border-block: 3px solid #0b0b12;
  padding-block: clamp(1rem, 3vw, 2.25rem);
  margin-block: 2rem;
}
.media-quotes [hidden] { display: none !important; }
.media-quotes input, .media-quotes select, .media-quotes button { font: inherit; }
.media-quotes label { display: grid; gap: .25rem; font-weight: 650; }
.media-quotes input, .media-quotes select {
  inline-size: 100%; min-inline-size: 0; min-height: 44px; max-width: 100%; box-sizing: border-box;
  background: #fff; color: #0b0b12; border: 1px solid #50505c; border-radius: 2px;
  padding: .45rem .65rem;
}
.mq-controls, .mq-offers { display: grid; gap: 1.2rem; align-items: end; margin-block: 1rem; }
.mq-controls { grid-template-columns: minmax(9rem,12rem) max-content; }
.mq-offers { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; }
.mq-proposal {
  display: grid; align-content: start; gap: .7rem;
  min-inline-size: 0; margin: 0; padding: 1rem; border: 1px solid #0b0b12; border-block-start: 4px solid #5b2eff;
}
.mq-proposal + .mq-proposal { border-block-start-color: #00b8d9; }
.mq-proposal legend { padding-inline: .45rem; font-size: 1.15rem; font-weight: 750; }
.mq-proposal small { font-size: .875rem; line-height: 1.55; }
.mq-proposal [data-fee-mode] { display: grid; gap: .7rem; }
.media-quotes button {
  cursor: pointer; min-height: 44px; max-inline-size: 100%; padding: .55rem .9rem;
  border: 1px solid #0b0b12; background: #fff; color: #0b0b12; font-weight: 700;
}
.media-quotes .mq-primary { background: #0b0b12; color: #fff; }
.media-quotes .mq-reset { margin-inline-start: .4rem; }
.media-quotes :focus-visible { outline: 3px solid #5b2eff; outline-offset: 2px; }
.media-quotes [data-quote-result] { margin-block-start: 1.4rem; }
.media-quotes [data-quote-verdict] { font-weight: 750; }
.media-quotes table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.media-quotes th, .media-quotes td { padding: .55rem .36rem; text-align: start; overflow-wrap: anywhere; }
.media-quotes th { font-weight: 700; }
.media-quotes [data-quote-message]:empty { display: none; }
@media (max-width: 580px) {
  .mq-controls, .mq-offers { grid-template-columns: minmax(0,1fr); }
  .mq-controls button { justify-self: start; }
  .media-quotes input, .media-quotes select { font-size: 1rem; }
  .media-quotes .mq-reset { margin-inline-start: 0; margin-block-start: .4rem; }
  .media-quotes th, .media-quotes td { font-size: .9rem; }
}
