/* SOLIPANEL v10 — RFQ detail list, contact line builder, facet search.
   Palette: deep navy #0C2340 / steel #1F4E75 / neutral grey; white surfaces. */

/* ---------- RFQ drawer summary ---------- */
.v10-rfq-panel { width: min(660px, 100%); }
.v10-rfq-panel .v8-rfq-head { padding: 18px 24px 14px; }
.v10-rfq-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--v8-line);
  background: #F8FAFC;
}
.v10-rfq-summary[hidden] { display: none; }
.v10-rfq-summary > div {
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid var(--v8-line);
}
.v10-rfq-summary > div:last-child { border-right: 0; }
.v10-rfq-summary strong {
  display: block;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.1;
  color: var(--v8-navy);
  font-variant-numeric: tabular-nums;
}
.v10-rfq-summary span {
  display: block;
  margin-top: 2px;
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--v8-muted-2);
}

/* ---------- RFQ list ---------- */
.v10-rfq-list { display: block; }
.v10-rfq-list:empty { display: none; }
.v10-rfq-brand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 18px 0 4px;
  padding: 7px 10px;
  background: var(--v8-surface-2);
  border-left: 3px solid var(--v8-navy);
}
.v10-rfq-brand:first-child { margin-top: 2px; }
.v10-rfq-brand-name {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--v8-navy);
}
.v10-rfq-brand-meta { font-size: 10.5px; color: var(--v8-muted); font-variant-numeric: tabular-nums; }

.v10-rfq-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto 26px;
  gap: 10px;
  align-items: start;
  padding: 12px 2px;
  border-bottom: 1px solid var(--v8-line);
}
.v10-rfq-thumb {
  width: 52px;
  height: 62px;
  object-fit: contain;
  background: var(--v8-surface);
  border: 1px solid var(--v8-line);
  border-radius: 2px;
}
.v10-rfq-info { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.v10-rfq-title {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--v8-ink);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.v10-rfq-title:hover { color: var(--v8-steel); }
.v10-rfq-sku {
  font-size: 10.5px;
  color: var(--v8-muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  word-break: break-all;
}
.v10-rfq-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.v10-rfq-tag {
  font-size: 9.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--v8-steel);
  background: #EDF2F7;
  border: 1px solid #D8E1EA;
  padding: 1px 5px;
  border-radius: 2px;
  white-space: nowrap;
}
.v10-rfq-note {
  grid-column: 2 / 3;
  width: 100%;
  margin-top: 2px;
  padding: 5px 7px;
  font-size: 11px;
  border: 1px solid var(--v8-line);
  background: #fff;
  color: var(--v8-ink);
}
.v10-rfq-note::placeholder { color: var(--v8-muted-2); }
.v10-rfq-note:focus { border-color: var(--v8-steel); outline: 0; }

.v10-qty {
  display: grid;
  grid-template-columns: 26px 48px 26px;
  align-items: center;
  border: 1px solid var(--v8-line-strong);
  background: #fff;
  height: 30px;
}
.v10-qty-btn {
  border: 0;
  background: var(--v8-surface);
  color: var(--v8-navy);
  font-size: 14px;
  line-height: 1;
  height: 100%;
  cursor: pointer;
}
.v10-qty-btn:hover { background: var(--v8-surface-2); }
.v10-qty-input {
  width: 100%;
  border: 0;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--v8-ink);
  background: #fff;
  -moz-appearance: textfield;
}
.v10-qty-input::-webkit-outer-spin-button,
.v10-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.v10-qty-input:focus { outline: 0; }

.v10-rfq-del {
  border: 0;
  background: none;
  color: var(--v8-muted-2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 0;
}
.v10-rfq-del:hover { color: #B3372F; }

/* v11.1.1 mobile step flow helpers. Hidden on desktop, where the note input
   stays visible and the single scrolling panel is unchanged. */
.v10-rfq-actions, .v11-rfq-stepbar, .v11-rfq-chips, .v11-rfq-back { display: none; }
/* Desktop keeps the note input always visible under the model line. Since the
   note and the actions are now direct children of the row, pin them to their
   own lines so the auto-placed info / quantity stay on the first line. */
.v10-rfq-panel .v10-rfq-note { grid-column: 2 / 3; grid-row: 2; }
.v10-rfq-panel .v10-rfq-actions { grid-column: 2 / 4; grid-row: 3; }
.v10-rfq-note-toggle, .v10-rfq-remove {
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--v8-navy);
  cursor: pointer;
}
.v10-rfq-remove { color: var(--v8-muted); font-weight: 600; }
.v10-rfq-remove:hover { color: #B3372F; }
.v11-rfq-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid var(--v8-line-strong);
  background: var(--v8-surface-2);
  font-size: 12px;
  font-weight: 700;
  color: var(--v8-navy);
  white-space: nowrap;
}
.v11-rfq-chip b { font-variant-numeric: tabular-nums; }
.v11-rfq-chip-x {
  border: 0;
  background: none;
  padding: 0 0 0 2px;
  font-size: 18px;
  line-height: 1;
  color: var(--v8-muted);
  cursor: pointer;
}
.v11-rfq-chip-x:hover { color: #B3372F; }
.v11-rfq-chip-add { border: 1.5px dashed var(--v8-navy); background: #fff; cursor: pointer; }
.v11-rfq-back {
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 1.5px solid var(--v8-navy);
  background: #fff;
  font-size: 11px;
  font-weight: 700;
  color: var(--v8-navy);
  cursor: pointer;
}
.v11-rfq-stepbar {
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--v8-line);
  background: var(--v8-surface);
}
.v11-rfq-stepbar > span { font-size: 12px; font-weight: 700; color: var(--v8-muted); }
.v11-rfq-stepbar .btn { white-space: nowrap; }
.v11-rfq-stepbar .btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Contact line builder ---------- */
.v10-line {
  border: 1px solid var(--v8-line);
  border-left: 3px solid var(--v8-navy);
  background: #FBFCFD;
  padding: 12px 14px 14px;
  margin-bottom: 10px;
}
.v10-line-main {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 92px 28px;
  gap: 10px;
  align-items: end;
}
.v10-line-sub {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.4fr;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--v8-line);
}
.v10-line .v8-field label { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; }
.v10-line .v8-field input,
.v10-line .v8-field select {
  padding: 7px 8px;
  font-size: 12px;
  background: #fff;
}
.v10-brand-row { display: flex; align-items: center; gap: 6px; }
.v10-brand-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
  border: 1px solid var(--v8-line);
  background: #fff;
}
.v10-brand-row select { flex: 1 1 auto; min-width: 0; }
.v10-line-count {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  color: var(--v8-muted-2);
}
.v10-line-remove {
  width: 28px;
  height: 30px;
  border: 1px solid var(--v8-line-strong);
  background: #fff;
  color: var(--v8-muted);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.v10-line-remove:hover { border-color: #B3372F; color: #B3372F; }

.v10-csv-import {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 6px 11px;
  border: 1px solid var(--v8-line-strong);
  background: #fff;
  color: var(--v8-steel);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.v10-csv-import:hover { border-color: var(--v8-steel); color: var(--v8-navy); }

/* ---------- Facet search ---------- */
.v10-facet-search {
  position: relative;
  margin: 0 0 10px;
}
.v10-facet-search i {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--v8-muted-2);
  font-size: 11px;
  pointer-events: none;
}
.v10-facet-search input {
  width: 100%;
  height: 32px;
  padding: 0 10px 0 28px;
  border: 1px solid var(--v8-line-strong);
  background: #fff;
  font-size: 12px;
  color: var(--v8-ink);
  border-radius: 2px;
}
.v10-facet-search input:focus { border-color: var(--v8-navy); outline: 0; }
.v10-facet-search input::placeholder { color: var(--v8-muted-2); }

.v10-chip-text { display: inline-flex; align-items: baseline; gap: 5px; }
.v10-chip-brand {
  font-size: 9.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--v8-muted-2);
}
.v10-facet-hint {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--v8-muted-2);
}
.v10-facet-empty {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  color: #B3372F;
}
.v10-facet-empty[hidden] { display: none; }

/* ---------- Add-to-RFQ confirmation ---------- */
.v8-add.is-added,
.v8-product-foot .v8-add.is-added {
  background: var(--v8-ok);
  border-color: var(--v8-ok);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .v10-line-main { grid-template-columns: 1fr 1fr 84px 28px; }
  .v10-line-sub { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .v10-rfq-row { grid-template-columns: 44px minmax(0, 1fr) 26px; }
  .v10-rfq-thumb { width: 44px; height: 54px; }
  .v10-qty { grid-column: 2 / 3; grid-row: 2; width: 108px; margin-top: 4px; }
  .v10-rfq-del { grid-column: 3; grid-row: 1; }
  .v10-line-main { grid-template-columns: 1fr 1fr; }
  .v10-line-brand, .v10-line-model { grid-column: 1 / -1; }
  .v10-line-qty { grid-column: 1 / 2; }
  .v10-line-remove { grid-column: 2 / 3; justify-self: end; }
  .v10-line-sub { grid-template-columns: 1fr; }
  .v10-csv-import { margin-left: 0; margin-top: 8px; }
}

/* ---------- 11.1.0 RFQ selection rail ---------- */
/* The storefront header uses z-index:1001 from the base theme; the RFQ
   drawer must sit above it or its own title / Add more control is covered. */
.v8-rfq-wrap { z-index: 2000 !important; }
.v8-rfq-panel { height: 100%; max-height: 100%; overflow: hidden; }
.v10-rfq-head-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.v10-rfq-add-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--v8-line-strong);
  background: #fff;
  color: var(--v8-navy);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  white-space: nowrap;
}
.v10-rfq-add-more:hover { border-color: var(--v8-navy); background: var(--v8-surface); }
.v10-rfq-add-more i { font-size: 11px; }
.v10-rfq-summary { flex: 0 0 auto; position: relative; z-index: 8; }
.v10-rfq-brands {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 12px 9px;
  border-right: 0 !important;
  border-top: 1px solid var(--v8-line);
  text-align: left;
  background: #fff;
}
.v10-rfq-brands:empty { display: none; }
.v10-rfq-brand-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid #D8E1EA;
  background: #EDF2F7;
  color: var(--v8-navy);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .03em;
}
.v10-rfq-brand-chip b { color: var(--v8-steel); font-weight: 700; }
.v8-rfq-body { min-height: 0; flex: 1 1 38%; overscroll-behavior: contain; }
.v8-rfq-form {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 56%;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.v8-rfq-fields textarea { resize: vertical; min-height: 64px; }
.v10-rfq-file-field { gap: 6px; }
.v10-rfq-file-field input[type="file"] {
  width: 100%;
  padding: 8px 9px;
  border: 1px dashed var(--v8-line-strong);
  background: #fff;
  color: var(--v8-ink);
  font-size: 11px;
  cursor: pointer;
}
.v10-rfq-file-field input[type="file"]:focus { outline: 2px solid rgba(31,78,117,.22); outline-offset: 1px; }
.v10-rfq-file-hint { display: block; margin-top: 4px; color: var(--v8-muted-2); font-size: 10px; line-height: 1.45; }
.v10-rfq-file-list { display: block; margin-top: 4px; color: var(--v8-steel); font-size: 10.5px; line-height: 1.5; }
.v10-rfq-file-list.is-error { color: #B3372F; }

/* Submitted state: the drawer becomes a focused confirmation panel instead of
   showing an empty list above a success card. */
.v10-rfq-panel.v11-rfq-submitted .v8-rfq-body,
.v10-rfq-panel.v11-rfq-submitted .v10-rfq-summary,
.v10-rfq-panel.v11-rfq-submitted .v8-rfq-fields,
.v10-rfq-panel.v11-rfq-submitted .v8-rfq-consent,
.v10-rfq-panel.v11-rfq-submitted .v8-rfq-foot { display: none; }
.v10-rfq-panel.v11-rfq-submitted .v8-rfq-form {
  flex: 1 1 auto;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: #fff;
}
.v10-rfq-panel.v11-rfq-submitted .v8-rfq-form > .v11-result { width: 100%; max-width: 560px; }

@media (max-width: 640px) {
  .v8-rfq-panel { width: 100%; height: 100dvh; max-height: 100dvh; }
  .v8-rfq-head { padding: 12px 14px 10px; flex: 0 0 auto; }
  .v8-rfq-head span { font-size: 8.5px; }
  .v8-rfq-head h2 { font-size: 18px; margin-top: 2px; }
  .v8-rfq-close { font-size: 25px; }
  .v10-rfq-head-actions { gap: 8px; }
  .v10-rfq-add-more { height: 32px; padding: 0 9px; font-size: 10px; }
  .v10-rfq-summary > div { padding: 8px 6px 7px; }
  .v10-rfq-summary strong { font-size: 18px; }
  .v10-rfq-summary span { font-size: 8.5px; letter-spacing: .08em; }
  .v10-rfq-brands { padding: 7px 10px; gap: 4px; }
  .v10-rfq-brand-chip { font-size: 9.5px; padding: 2px 6px; }
  .v8-rfq-body { flex: 1 1 auto; min-height: 190px; padding: 10px 14px; }
  .v8-rfq-form {
    flex: 0 0 38%;
    max-height: 38vh;
    padding: 12px 14px calc(14px + env(safe-area-inset-bottom));
    border-top: 2px solid var(--v8-line);
  }
  .v8-rfq-fields { gap: 7px; }
  .v8-rfq-fields label { font-size: 9.5px; }
  .v8-rfq-fields input, .v8-rfq-fields textarea, .v8-rfq-fields select { font-size: 12px; padding: 8px; }
  .v8-rfq-consent { font-size: 10.5px; }
  .v8-rfq-foot { position: sticky; bottom: 0; background: var(--v8-surface); padding: 8px 0 2px; }
  .v10-rfq-row { grid-template-columns: 42px minmax(0, 1fr) 30px; gap: 8px; padding: 9px 0; }
  .v10-rfq-thumb { width: 42px; height: 50px; }
  .v10-rfq-title { font-size: 12px; }
  .v10-rfq-note { font-size: 10.5px; }
}

/* ---------- v11.1.1 Mobile RFQ: two steps, one scroll region each ----------
   Step 1 "Your enquiry list": summary bar + compact rows + fixed Next bar.
   Step 2 "Contact details": model chips on top, the form gets the full height.
   Covers phones and tablets in portrait (up to 820px, iPad Air); landscape
   tablets and desktop keep the single scrolling panel. */
@media (max-width: 820px) {
  .v10-rfq-panel .v8-rfq-body { flex: 1 1 auto; min-height: 0; padding: 6px 14px 14px; }
  .v10-rfq-panel .v8-rfq-form { display: none; }
  .v10-rfq-panel .v11-rfq-stepbar { display: flex; flex: 0 0 auto; }
  .v10-rfq-panel.v11-step-form .v11-rfq-back { display: inline-flex; }

  /* Header: one line for the title, controls never push it onto two lines. */
  .v10-rfq-panel .v8-rfq-head { align-items: center; gap: 8px; }
  .v10-rfq-panel .v8-rfq-head > div:first-child { min-width: 0; }
  .v10-rfq-panel .v8-rfq-head > div:first-child > span { display: none; }
  .v10-rfq-panel .v8-rfq-head h2 { margin: 0; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v10-rfq-panel .v10-rfq-head-actions { gap: 6px; }
  .v10-rfq-panel .v10-rfq-add-more { height: 32px; padding: 0 8px; font-size: 10px; }
  .v10-rfq-panel .v11-rfq-back { height: 32px; padding: 0 8px; font-size: 10.5px; }
  .v10-rfq-panel .v11-rfq-back span { display: inline; }

  /* Step 1 is the list only: the brand strip repeats what each row and the
     fixed bottom bar already say, so it is dropped here. */
  .v10-rfq-panel:not(.v11-step-form) .v10-rfq-summary,
  .v10-rfq-panel:not(.v11-step-form) .v11-rfq-chips { display: none; }

  /* One model, one line: image | name | quantity. Note is collapsed by default. */
  .v10-rfq-panel .v10-rfq-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-areas:
      "img info qty"
      ". note note"
      ". acts acts";
    column-gap: 10px;
    row-gap: 6px;
    align-items: center;
    padding: 11px 0 8px;
  }
  .v10-rfq-panel .v10-rfq-thumb { grid-area: img; width: 44px; height: 52px; }
  .v10-rfq-panel .v10-rfq-info { grid-area: info; }
  .v10-rfq-panel .v10-rfq-title { font-size: 13px; -webkit-line-clamp: 1; }
  .v10-rfq-panel .v10-rfq-sku { font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v10-rfq-panel .v10-qty { grid-area: qty; grid-column: auto; grid-row: auto; width: auto; margin-top: 0; height: 34px; }
  .v10-rfq-panel .v10-qty-input { font-size: 15px; }
  .v10-rfq-panel .v10-rfq-del { display: none; }
  .v10-rfq-panel .v10-rfq-note {
    grid-area: note;
    display: none;
    margin-top: 0;
    padding: 8px 10px;
    font-size: 16px; /* 16px stops iOS from zooming into the field */
  }
  .v10-rfq-panel .v10-rfq-row.is-note-open .v10-rfq-note { display: block; }
  .v10-rfq-panel .v10-rfq-actions {
    grid-area: acts;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .v10-rfq-panel .v10-rfq-remove { font-size: 12px; font-weight: 600; letter-spacing: 0; }
  .v10-rfq-panel .v10-rfq-brand { margin: 12px 0 2px; }
  .v10-rfq-panel .v10-rfq-brand:first-child { margin-top: 4px; }

  /* Step 2 */
  .v10-rfq-panel.v11-step-form .v8-rfq-body,
  .v10-rfq-panel.v11-step-form .v11-rfq-stepbar,
  .v10-rfq-panel.v11-step-form .v10-rfq-summary,
  .v10-rfq-panel.v11-step-form .v10-rfq-add-more { display: none; }
  .v10-rfq-panel.v11-step-form .v11-rfq-chips {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--v8-line);
    background: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .v10-rfq-panel.v11-step-form .v11-rfq-chips::-webkit-scrollbar { display: none; }
  .v10-rfq-panel.v11-step-form .v8-rfq-form {
    display: block;
    flex: 1 1 auto;
    max-height: none;
    padding: 14px 14px 0;
    border-top: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .v10-rfq-panel.v11-step-form .v8-rfq-fields { grid-template-columns: 1fr; gap: 12px; }
  .v10-rfq-panel.v11-step-form .v8-rfq-fields label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    letter-spacing: .02em;
  }
  .v10-rfq-panel.v11-step-form .v8-rfq-fields input:not([type="file"]):not([type="checkbox"]),
  .v10-rfq-panel.v11-step-form .v8-rfq-fields select,
  .v10-rfq-panel.v11-step-form .v8-rfq-fields textarea {
    font-size: 16px; /* 16px stops iOS from zooming into the field */
    padding: 10px 11px;
  }
  .v10-rfq-panel.v11-step-form .v8-rfq-consent { margin-top: 12px; font-size: 12px; line-height: 1.5; }
  .v10-rfq-panel.v11-step-form .v8-rfq-foot {
    position: sticky;
    bottom: 0;
    margin-top: 12px;
    padding: 10px 0 calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--v8-line);
    background: var(--v8-surface);
  }
  .v10-rfq-panel.v11-step-form .v8-rfq-foot span { font-size: 12px; }
  .v10-rfq-panel.v11-step-form .v8-rfq-foot .btn { height: 44px; padding: 0 18px; font-size: 14px; white-space: nowrap; }
  .v10-rfq-panel.v11-step-form .v8-rfq-status:not(:empty) { padding-bottom: 12px; }

  /* Success card: no list, chips or step bar around it. */
  .v10-rfq-panel.v11-rfq-submitted .v11-rfq-stepbar,
  .v10-rfq-panel.v11-rfq-submitted .v11-rfq-chips,
  .v10-rfq-panel.v11-rfq-submitted .v11-rfq-back { display: none; }
  .v10-rfq-panel.v11-rfq-submitted .v10-rfq-add-more { display: inline-flex; }
}

/* Tablet portrait: same two steps, but the lines are capped so a 768-820px
   wide panel does not stretch one input across the whole screen. */
@media (min-width: 768px) and (max-width: 820px) {
  .v10-rfq-panel .v8-rfq-head h2 { font-size: 19px; }
  .v10-rfq-panel .v10-rfq-list,
  .v10-rfq-panel .v11-rfq-chips,
  .v10-rfq-panel .v8-rfq-form > * { max-width: 640px; margin-left: auto; margin-right: auto; }
  .v10-rfq-panel .v11-rfq-chips { justify-content: flex-start; width: 100%; }
  .v10-rfq-panel .v8-rfq-body,
  .v10-rfq-panel .v11-rfq-chips,
  .v10-rfq-panel .v11-rfq-stepbar { padding-left: 24px; padding-right: 24px; }
  .v10-rfq-panel .v10-rfq-add-more { height: 34px; padding: 0 10px; font-size: 10.5px; }
  .v10-rfq-panel .v11-rfq-back { height: 34px; font-size: 11px; }
  .v10-rfq-panel.v11-step-form .v8-rfq-form { padding: 18px 24px 0; }
  .v10-rfq-panel.v11-step-form .v8-rfq-fields { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .v10-rfq-panel.v11-step-form .v8-rfq-fields .v8-rfq-wide { grid-column: 1 / -1; }
}

