#quote{box-sizing:border-box;width:min(840px,94vw);max-width:calc(100vw - 20px);padding:24px;max-height:92dvh;font-size:16px;line-height:1.45}
#quote [hidden]{display:none!important}
#quote .dialog-head{align-items:center;gap:16px}
#quote .dialog-head h2{margin:0;font-size:32px}
#quote #formIntro{margin:10px 0;font-size:14px}
#quote .rfq-progress{display:flex;gap:8px;padding:0;margin:12px 0 18px;list-style:none}
.rfq-progress li{flex:1;padding:6px 4px;border-bottom:3px solid var(--line);font-size:14px;color:var(--muted)}
.rfq-progress li[aria-current="step"]{border-color:var(--yellow);color:var(--ink);font-weight:600}
#quote fieldset{min-width:0;padding:0;border:0;margin:0 0 14px}
#quote legend{font-size:18px;font-weight:600;margin-bottom:8px}
#quote h3{margin:0 0 12px;font-size:24px}
#quote .rfq-options{display:flex;flex-wrap:wrap;gap:8px}
#quote .rfq-options label{box-sizing:border-box;min-height:44px;display:flex;gap:8px;align-items:center;border:1px solid var(--line);padding:8px 10px;border-radius:5px;cursor:pointer;margin:0}
#quote .rfq-options label:has(input:checked){border-color:#b58c00;background:#fff8d7}
#quote input[type="radio"]{width:auto;margin:0;accent-color:#a37d00}
#quote .rfq-part{padding:14px;margin:0 0 12px;border:1px solid var(--line);border-radius:6px;background:#fafaf7}
.rfq-part-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
#quote .rfq-part-head h4{margin:0;font:600 21px 'Barlow Semi Condensed',sans-serif}
.rfq-remove{padding:6px 0;border:0;background:transparent;text-decoration:underline;cursor:pointer}
#quote .rfq-part legend{font-size:17px}
#quote .form-grid{gap:12px;margin-bottom:12px}
#quote .form-grid>div{min-width:0}
#quote label{display:block;margin-bottom:5px;font-size:15px}
#quote input:not([type="radio"]),#quote textarea,#quote select{
  box-sizing:border-box;width:100%;min-width:0;margin:0;padding:9px 11px;
  border:1px solid #bfc3b7;border-radius:4px;background-color:#fff;color:var(--ink);
  font:400 16px/1.35 'Barlow',Arial,sans-serif;
}
#quote input:not([type="radio"]),#quote select{height:44px}
#quote textarea{min-height:68px}
#quote select{
  appearance:none;padding-right:34px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23575c50' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position:right 11px center;background-size:16px;background-repeat:no-repeat;
}
#quote :is(input,textarea,select):focus-visible{outline:2px solid #b58c00;outline-offset:2px}
#quote input[type="file"]{padding:6px 8px;font-size:14px}
#quote input[type="file"]::file-selector-button{margin-right:10px;padding:5px 8px;border:0;border-radius:3px;background:var(--paper);font:inherit;cursor:pointer}
#quote .rfq-file-hint{font-size:12px;line-height:1.45;margin:8px 0 12px;color:var(--muted)}
.rfq-actions{display:flex;justify-content:space-between;gap:12px;margin-top:16px}
.rfq-actions .button{margin-left:0}
#quote .rfq-error{color:#8c201a;line-height:1.5}
#quote button:disabled{opacity:.55;cursor:wait}
#quote .rfq-summary section{padding:14px 0;border:0;border-bottom:1px solid var(--line)}
#quote .rfq-summary h3{font-size:22px;margin:0 0 10px}
#quote .rfq-summary dl{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);gap:6px 16px;margin:0}
#quote .rfq-summary dt{font-weight:600}
#quote .rfq-summary dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}
#quote .rfq-privacy{font-size:13px;line-height:1.5}
#quote .rfq-privacy a{text-decoration:underline}
@media(max-width:560px){
  #quote{padding:18px 14px;width:96vw}
  #quote .rfq-progress{gap:4px}
  .rfq-progress li{font-size:12px}
  #quote .form-grid{grid-template-columns:1fr}
  #quote .rfq-options{flex-direction:column}
  #quote .rfq-part{padding:12px}
  .rfq-actions .button{padding:12px}
}
