.qw-intro {
  padding-block: clamp(16px, 2vw, 31px);
  background: #191b1d;
  color: white;
  border-bottom: 2px solid #de561f;
}
.qw-intro h1 {
  margin: 0;
  font-size: clamp(29px, 3.65vw, 51px);
  letter-spacing: -.04em;
  line-height: 1.12;
}
.qw-intro p { margin: 7px 0 0; color: #dce0dd; max-width: 69ch; font-size: clamp(14px,1.35vw,18px); line-height: 1.45; }
.quote-page .quote-panel { border: 0; padding-top: clamp(16px,3vw,40px); }
.quote-workspace {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  align-items: start;
  gap: clamp(19px,3vw,34px);
}
.quote-selection, .quote-draft { min-width: 0; }
#quote-list:not(.quote-has-items) .quote-workspace { grid-template-columns: minmax(0,1fr); }
#quote-list:not(.quote-has-items) .quote-workspace-shortcuts,
#quote-list:not(.quote-has-items) .quote-quantity-help { display: none; }
.quote-page .quote-list-header { margin-bottom: 6px; gap: 9px; }
.quote-list-heading h2 { font-size: clamp(21px,2.25vw,30px); line-height: 1.18; }
.quote-count-label { color: var(--muted); font-size: 14px; }
.quote-page .quote-clear { font-size: 13px; border-color: var(--line); border-radius: 3px; padding-inline: 11px; }
.quote-workspace-shortcuts {
  display: flex;
  gap: 6px 14px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.quote-workspace-shortcuts a { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.quote-workspace-shortcuts a:not(.button) { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.quote-workspace-shortcuts .quote-draft-jump { border-radius: 3px; padding: 7px 11px; }
.quote-page .quote-quantity-help { margin: 0 0 10px; font-size: 13px; }
.quote-page .quote-validation { margin: 0 0 10px; }
.quote-page .quote-items { list-style: none; margin: 0; padding: 0; gap: 9px; }
.quote-page .quote-item {
  padding: 10px;
  gap: 7px 12px;
  grid-template-columns: minmax(0,1fr) minmax(96px,auto) auto;
  border: 1px solid #e1e1dc;
  border-radius: 3px;
  background: #f8f7f4;
}
.quote-page .quote-item-main { display: flex; align-items: center; gap: 10px; grid-column: auto; min-width: 0; }
.quote-item-summary { min-width: 0; }
.quote-item-thumbnail {
  width: clamp(51px,5vw,69px);
  height: clamp(51px,5vw,69px);
  display: grid;
  place-items: center;
  grid-template: minmax(0,1fr) / minmax(0,1fr);
  padding: 4px;
  flex: none;
  background: #fff;
  border: 1px solid #ebeae4;
}
.quote-item-thumbnail img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: contain; }
.quote-page .quote-item .quote-product-link { display: inline-block; margin: 0; font-size: clamp(15px,1.65vw,20px); line-height: 1.22; overflow-wrap: anywhere; }
.quote-item .quote-reference { margin-top: 2px; font-size: 12px; }
.quote-page .quote-quantity { gap: 3px; max-width: none; font-size: 12px; }
.quote-page .quote-quantity input { width: 100%; max-width: 140px; font-size: 16px; font-variant-numeric: tabular-nums; }
.quote-page .quote-quantity input[aria-invalid="true"] { border-color: #a02d15; color: #a02d15; }
.quote-page .quote-item-remove { align-self: end; min-height: 44px; padding-inline: 4px; }
.quote-page .quote-draft {
  scroll-margin-top: 22px;
  border: 1px solid #e1e1dc;
  border-top: 2px solid #de561f;
  border-radius: 3px;
  padding: clamp(12px,2vw,22px);
  background: #fff;
}
.quote-page .quote-draft > h2 { font-size: clamp(21px,2.35vw,31px); line-height: 1.15; margin: 0 0 12px; }
.quote-page .quote-draft .quote-channels {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: start;
  gap: 9px;
  margin-bottom: 9px;
}
.quote-page .quote-draft .quote-channels[hidden],
.quote-page .quote-draft[hidden] { display: none; }
.quote-page .quote-draft .quote-channel-group { min-width: 0; }
.quote-page .quote-draft .quote-channel-links a { border-radius: 3px; }
.quote-draft > .quote-channel-note { color: var(--muted); margin: 0 0 12px; }
.quote-draft-invalid { display: none; color: #a02d15; font-size: 13px; }
.quote-channels[hidden] + .quote-draft-invalid { display: block; }
.quote-page .quote-preview-details { padding: 10px 12px; border-radius: 3px; }
.quote-page .quote-preview-details summary { font-size: 14px; min-height: 30px; }
.quote-page .quote-actions { margin: 9px 0 0; gap: 7px; }
.quote-page .quote-actions button { border-radius: 3px; padding: 8px 10px; font-size: 13px; }
.quote-storage-details {
  border-top: 1px solid var(--line);
  margin-top: 17px;
  color: var(--muted);
  font-size: 13px;
}
.quote-storage-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.quote-storage-details summary::-webkit-details-marker { display: none; }
.quote-storage-details summary::after { content: '+'; font-size: 18px; }
.quote-storage-details[open] summary::after { content: '−'; }
.quote-page .quote-storage-details .quote-privacy,
.quote-page .quote-storage-details .quote-storage-notice { border: 0; padding: 0; margin: 0 0 8px; }
.quote-page .quote-direct { margin-top: 16px; padding-top: 12px; }
@media (max-width: 850px) {
  .quote-workspace { grid-template-columns: minmax(0,1fr); }
}
@media (min-width: 851px) {
  .quote-workspace-shortcuts .quote-draft-jump { display: none; }
}
@media (max-width: 640px) {
  .quote-page .quote-item {
    grid-template-columns: minmax(0,1fr) auto;
    padding: 9px 11px;
  }
  .quote-page .quote-item-main { grid-column: 1/-1; }
  .quote-page .quote-quantity { flex-direction: row; align-items: center; gap: 9px; }
  .quote-page .quote-quantity input { width: 96px; }
  .quote-page .quote-item-remove { align-self: center; }
  .quote-page .quote-draft .quote-channel-links a { min-height: 57px; padding-inline: 7px; }
}
