/* v2.2.0: shared page progress and compact RFQ, after legacy cascade */
.page-progress{position:fixed;top:var(--actual-header-h,86px);left:0;width:100%;height:3px;z-index:79;pointer-events:none;overflow:hidden}.page-progress span{display:block;width:100%;height:100%;background:#ff6d00;transform:scaleX(0);transform-origin:left center}
.rfq-sr-only,.rfq-counted>.rfq-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.rfq-compact .field{margin:0 0 13px;min-width:0}.rfq-compact .rfq-field-head{display:flex;justify-content:space-between;align-items:baseline;gap:6px;margin:0 0 5px;font-size:14px;line-height:1.35;letter-spacing:0;font-weight:600}.rfq-compact .rfq-count{font-size:12px;font-weight:400;color:#607687;white-space:nowrap;font-variant-numeric:tabular-nums}.rfq-compact .rfq-count.is-count-invalid{color:#b42318;font-weight:600}.rfq-compact .field-caption{font-size:14px;line-height:1.35;margin:0 0 5px;font-weight:600;letter-spacing:0}.rfq-compact .field input,.rfq-compact .field textarea,.rfq-compact .direction-select-trigger{font-size:16px;min-height:42px;padding:9px 11px;line-height:1.35}.rfq-compact .field textarea{height:88px;min-height:72px;resize:vertical;display:block}.rfq-compact .filezone{min-height:52px;padding:8px 11px;gap:10px}.rfq-compact .filezone__icon{width:28px;height:28px;font-size:20px}.rfq-compact .filezone strong{font-size:13px;line-height:1.35;font-weight:600}.rfq-compact .filezone small{font-size:12px;line-height:1.3;margin:2px 0 0}.rfq-compact .filezone:focus-within{outline:2px solid #a63d00;outline-offset:2px}.rfq-compact .file-list{max-height:40px;overflow:auto;overflow-wrap:anywhere;font-size:12px;margin:5px 0 0}.rfq-compact .rfq-consent{margin:12px 0}.rfq-compact .consent-check{padding:0;gap:8px;grid-template-columns:20px minmax(0,1fr);font-size:13px;line-height:1.4}.rfq-compact .consent-box{width:19px;height:19px}.rfq-compact .form-aux{font-size:12px;line-height:1.4;margin:8px 0 0}.rfq-compact .btn--wide{min-height:42px;padding:10px 14px}.rfq-compact .form-feedback:empty{display:none}.rfq-compact .form-feedback{margin:0}.rfq-compact .rfq-invalid,.rfq-compact .field input.rfq-invalid,.rfq-compact .field textarea.rfq-invalid,.rfq-compact .direction-select-trigger.rfq-invalid{border-color:#c52e24;box-shadow:0 0 0 1px #c52e2429;background-color:#fff8f7}.rfq-compact .rfq-pulse{animation:rfqInvalidPulse .85s ease-in-out 3}@keyframes rfqInvalidPulse{0%,100%{box-shadow:0 0 0 1px #c52e2429}50%{box-shadow:0 0 0 4px #d92d2038;background-color:#fff0ed}}.rfq-compact.rfq-result-mode .rfq-fields{display:none}
.rfq-modal-backdrop{padding:12px;overflow:auto;overscroll-behavior:contain}.rfq-modal-panel{width:min(1080px,100%);max-height:none;flex:none;grid-template-columns:minmax(230px,.65fr) minmax(0,1.35fr);margin:auto;overflow:hidden}.rfq-modal-side{padding:clamp(24px,3vw,46px);gap:24px}.rfq-modal-side h2{font-size:clamp(32px,3.5vw,54px);margin:8px 0;line-height:1.05}.rfq-modal-side h2 span{color:#ff6d00}.rfq-modal-content{overflow:visible;padding:22px 30px 20px}.rfq-modal-panel .rfq-modal-close{position:absolute;top:15px;right:15px;margin:0;width:40px;height:40px;min-width:40px;z-index:5}.rfq-modal-close svg{transform-origin:50% 50%;transition:transform .35s cubic-bezier(.2,.7,.25,1)}.rfq-modal-close:hover svg{transform:rotate(90deg)}.rfq-modal-content .form{padding:0;margin:0}.rfq-modal-content .form:before{display:none}.rfq-modal-content .rfq-fields>.field:first-child{padding-right:42px}.rfq-modal-content .rfq-compact .field-grid{gap:12px}.rfq-modal-content .rfq-compact .field textarea{resize:none}.rfq-modal-content .form-result pre{display:none}.rfq-modal-content .rfq-compact .form-feedback{padding-top:45px}.rfq-modal-content .rfq-compact .form-aux{color:#536c7d}.rfq-modal-content .rfq-compact .field input,.rfq-modal-content .rfq-compact .field textarea{background:#fff}.rfq-modal-content .rfq-compact .field input.rfq-invalid,.rfq-modal-content .rfq-compact .field textarea.rfq-invalid{border-color:#c52e24;background:#fff8f7;box-shadow:0 0 0 1px #c52e2429}
@media(min-width:761px) and (max-height:800px){.rfq-modal-content{padding:16px 24px}.rfq-modal-content .rfq-compact .field{margin-bottom:9px}.rfq-modal-content .rfq-compact .field textarea{height:72px;min-height:64px}.rfq-modal-content .rfq-compact .rfq-consent{margin:9px 0}.rfq-modal-content .rfq-compact .field input,.rfq-modal-content .rfq-compact .direction-select-trigger{min-height:38px;padding:7px 10px}}
@media(max-width:760px){.rfq-modal-backdrop{padding:8px}.rfq-modal-panel{display:flex;flex-direction:column;max-height:none;height:auto;overflow:hidden}.rfq-modal-side{padding:16px 22px;min-height:0}.rfq-modal-side h2{font-size:27px;line-height:1.1;margin:0}.rfq-modal-side h2 br{display:none}.rfq-modal-content{padding:15px 16px}.rfq-modal-panel .rfq-modal-close{top:10px;right:10px}.rfq-modal-content .rfq-compact .field-grid{grid-template-columns:1fr 1fr;gap:8px}.rfq-modal-content .rfq-compact .field{margin-bottom:9px}.rfq-modal-content .rfq-compact .field textarea{height:72px;min-height:64px}.rfq-modal-content .rfq-compact .rfq-field-head{font-size:13px;flex-wrap:wrap;gap:2px 4px}.rfq-modal-content .rfq-compact .rfq-count{font-size:11px}.rfq-modal-content .rfq-compact .rfq-consent{margin:10px 0}.rfq-modal-content .rfq-compact .field input{padding:8px;min-width:0}.rfq-modal-content .rfq-compact .direction-select-trigger{min-height:42px}.rfq-modal-content .rfq-compact .form-aux{font-size:11px}}
@media(max-width:365px){.rfq-modal-content .rfq-compact .field-grid{grid-template-columns:1fr;gap:0}.rfq-modal-content .rfq-fields>.field:first-child{padding-right:40px}}
@media(prefers-reduced-motion:reduce){.rfq-compact .rfq-pulse{animation:none}.rfq-modal-close svg{transition:none}.rfq-modal-close:hover svg{transform:none}}

/* Shared factory location. The external map never loads on unrelated pages. */
.factory-location{background:#edf2f5}.factory-location-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.factory-location-head .section-heading{margin-bottom:12px}.factory-location-head address{font-style:normal;color:#405566;font-size:var(--type-body);line-height:1.5}.factory-location-head .btn{flex:none}.factory-map-frame{height:clamp(340px,37vw,620px);background:#dce6ec;border:1px solid #c7d5df;position:relative;overflow:hidden}.factory-map-frame iframe{display:block;border:0;width:100%;height:100%;background:#f1f5f7}.factory-map-note{margin:10px 0 0;color:#526878;font-size:13px}.rfq-compact .rfq-field-head{flex-wrap:wrap}.rfq-modal-content .rfq-compact .form-feedback:empty{display:none}.rfq-modal-panel .rfq-modal-close:hover{transform:none}.rfq-modal-panel .rfq-modal-close svg{display:block;flex:none;transform-box:view-box;transform-origin:50% 50%}.rfq-compact .rfq-invalid:focus{outline-color:#c52e24}.rfq-compact .consent-box.rfq-invalid{border-color:#c52e24}.rfq-modal-backdrop:not(.is-open) .rfq-fx-scan,.rfq-modal-backdrop:not(.is-open) .filezone:before{animation-play-state:paused}
@media(max-width:760px){.factory-location-head{display:grid;align-items:start;gap:16px}.factory-location-head .btn{justify-self:start;max-width:100%;white-space:normal}.factory-map-frame{height:360px}}

/* v2.2.1: single confirmation state, no technical actions; desktop breathing room. */
.rfq-success{text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;padding:28px 12px 30px;color:#182d3a}
.rfq-success-icon{width:70px;height:70px;color:#a63d00;display:grid;place-items:center;background:#fff0e4;border-radius:50%}.rfq-success-icon svg{width:48px;height:48px;display:block}
.rfq-compact .rfq-success h2,.rfq-modal-content .rfq-success h2{font-size:clamp(25px,2.4vw,34px);line-height:1.15;letter-spacing:-.035em;margin:0;color:#17232d}
.rfq-success p{font-size:14px;line-height:1.5;color:#536c7d;max-width:340px;margin:0}.rfq-success-close{min-width:180px;margin-top:8px}
.rfq-modal-panel.rfq-modal-success{display:block;width:min(520px,100%)}.rfq-modal-success .rfq-modal-side,.rfq-modal-success .rfq-modal-close{display:none}.rfq-modal-success .rfq-modal-content{padding:34px 28px}.rfq-modal-success .rfq-compact .form-feedback{padding:0}.rfq-modal-success .rfq-success{padding:8px 0}
@media(min-width:1000px) and (min-height:850px){
 .rfq-modal-panel:not(.rfq-modal-success){width:min(1180px,100%);grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr)}
 .rfq-modal-panel:not(.rfq-modal-success) .rfq-modal-content{padding:66px 42px 32px}
 .rfq-modal-panel:not(.rfq-modal-success) .rfq-modal-close{top:18px;right:20px}
 .rfq-modal-content .rfq-fields>.field:first-child{padding-right:0}
 .rfq-modal-content .rfq-compact .field{margin-bottom:17px}
 .rfq-modal-content .rfq-compact .field-grid{gap:16px}
 .rfq-modal-content .rfq-compact .rfq-field-head,.rfq-modal-content .rfq-compact .field-caption{margin-bottom:7px}
 .rfq-modal-content .rfq-compact .field input,.rfq-modal-content .rfq-compact .direction-select-trigger{min-height:46px;padding:11px 13px}
 .rfq-modal-content .rfq-compact .field textarea{height:110px;padding:11px 13px}
 .rfq-modal-content .rfq-compact .filezone{min-height:60px;padding:10px 13px}
 .rfq-modal-content .rfq-compact .rfq-consent{margin:17px 0}
 .rfq-modal-content .rfq-compact .btn--wide{min-height:48px}
 .rfq-modal-content .rfq-compact .form-aux{margin-top:11px}
}
@media(max-width:760px){.rfq-modal-success .rfq-modal-content{padding:28px 20px}.rfq-success{padding:20px 0}.rfq-success-icon{width:62px;height:62px}}

/* v2.2.4: center the map action without reserving an icon slot. */
.factory-location-head > .btn { justify-content:center; align-items:center; text-align:center; gap:0; padding-inline:clamp(18px,1.3vw,32px); }

.rfq-compact .rfq-consent { display:grid; gap:6px; }
.rfq-compact .consent-check {
  grid-template-columns:20px minmax(0,1fr); align-items:start;
  min-height:24px; padding:2px 0; gap:9px;
  font-size:clamp(13px,.85vw,15px); line-height:1.45; font-weight:400;
}
.rfq-compact .consent-check a { color:#944000; text-decoration:underline; text-underline-offset:.16em; }
.rfq-compact .consent-check a:focus-visible { outline:2px solid #a63d00; outline-offset:2px; }
