/* Scope every field rule: existing homepage and independent application pages stay intact. */
.rep-rfq-form{color:#404734;font-family:Ubuntu,Arial,sans-serif;font-size:15px;font-weight:400;line-height:1.6;min-width:0;padding:32px}
.rep-rfq-form *, .rep-rfq-dialog *{box-sizing:border-box}
/* OEM owns its white form card. The other hosts already supply a content inset;
   reuse it so inline forms and the fixed-size modal never receive double padding. */
[data-rfq-mount="contact-inline"]>.rep-rfq-form,
[data-rfq-mount="rfq-standalone"]>.rep-rfq-form,
.rep-rfq-dialog .rep-rfq-form{padding:0}
.rep-rfq-form [hidden],.rep-rfq-dialog [hidden]{display:none!important}
.rep-rfq-form .rfq-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:19px 20px}
.rep-rfq-form .rfield{min-width:0;margin:0;padding:0;border:0}
.rep-rfq-form .rfield-full{grid-column:1/-1}
.rep-rfq-form label,.rep-rfq-form legend{display:block;font-size:14px;font-weight:500;color:#37452B;margin:0 0 8px;line-height:1.45}
.rep-rfq-form legend{padding:0}
.rep-rfq-form label>span[aria-hidden]{color:#596B38}
.rep-rfq-form legend>span{font-size:12px;font-weight:300;color:#62694E}
.rep-rfq-form input:not([type=checkbox]),.rep-rfq-form select,.rep-rfq-form textarea{font:400 14px/1.5 Ubuntu,Arial,sans-serif;color:#37452B;background:#fff;border:1px solid #D6D9CC;border-radius:5px;min-height:46px;padding:11px 13px;width:100%;max-width:100%;box-shadow:none;transition:border-color .15s,box-shadow .15s}
.rep-rfq-form textarea{resize:vertical;min-height:84px}
.rep-rfq-form textarea[name=requirements]{min-height:116px}
.rep-rfq-form select{cursor:pointer;padding-right:27px}
.rep-rfq-form input::placeholder,.rep-rfq-form textarea::placeholder{color:#727862;opacity:1}
.rep-rfq-form input:focus,.rep-rfq-form textarea:focus,.rep-rfq-form select:focus{outline:2px solid #596B38;outline-offset:2px;border-color:#596B38}
.rep-rfq-form input[aria-invalid],.rep-rfq-form select[aria-invalid],.rep-rfq-form textarea[aria-invalid]{border-color:#A44527;background:#FFFCF9}
.rep-rfq-form small{display:block;font-size:12px;font-weight:300;line-height:1.55;margin-top:6px;color:#62694E}
.rep-rfq-form .rfq-models>div{display:flex;flex-wrap:wrap;gap:2px 20px}
.rep-rfq-form .rfq-models label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400;min-height:44px;margin:0;cursor:pointer}
.rep-rfq-form input[type=checkbox]{width:18px;height:18px;min-width:18px;margin:0;accent-color:#596B38;cursor:pointer}
.rep-rfq-form .rfq-check label{display:flex;align-items:flex-start;gap:9px;font-size:13px;font-weight:400;line-height:1.6;cursor:pointer;min-height:44px}
.rep-rfq-form .rfq-check input{margin-top:3px}
.rep-rfq-form .rfq-optional{margin:23px 0;border-block:1px solid #DED9C8;padding:0}
.rep-rfq-form .rfq-optional summary{list-style:revert;cursor:pointer;font-size:14px;font-weight:500;min-height:48px;padding:12px 0;color:#37452B}
.rep-rfq-form .rfq-optional summary:focus-visible{outline:2px solid #596B38;outline-offset:2px}
.rep-rfq-form .rfq-optional .rfq-grid{padding:6px 0 20px}
.rep-rfq-form .rfq-preview-note{background:#F1E8D7;border-radius:5px;padding:15px 17px;font-size:12px;line-height:1.65;margin:20px 0}
.rep-rfq-form .rfq-preview-note strong{font-size:13px;font-weight:500;color:#37452B}
.rep-rfq-form .rfq-preview-note p{margin:5px 0 0;font-size:12px;line-height:1.65}
.rep-rfq-form .rfq-submit-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.rep-rfq-form .rfq-submit-row>span{font-size:12px;color:#62694E}
.rep-rfq-form .rfq-submit{font:500 15px/1.4 Ubuntu,Arial,sans-serif;min-height:48px;padding:13px 28px;border:1px solid #596B38;border-radius:4px;background:#596B38;color:white;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:10px}
.rep-rfq-form .rfq-submit:hover{background:#46562B;border-color:#46562B}
.rep-rfq-form .rfq-submit:focus-visible,.rep-rfq-close:focus-visible{outline:3px solid #A58333;outline-offset:3px}
.rep-rfq-form .rfq-submit:disabled{opacity:.65;cursor:wait}
.rep-rfq-form .rfq-field-error{font-size:12px;line-height:1.55;color:#984125;margin:6px 0 0}
.rep-rfq-form .rfq-error-summary{padding:16px 18px;border:1px solid #A44527;border-radius:5px;background:#FFFAF4;margin-bottom:24px;color:#7A331C;font-size:13px}
.rep-rfq-form .rfq-error-summary strong{font-weight:500}
.rep-rfq-form .rfq-error-summary ul{padding-left:19px;margin:8px 0 0}
.rep-rfq-form .rfq-error-summary button{font:400 13px/1.6 Ubuntu,Arial,sans-serif;color:inherit;background:none;border:0;padding:8px 0;min-height:36px;cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:3px}
.rep-rfq-form .rfq-error-summary:focus{outline:2px solid #A44527;outline-offset:3px}
.rep-rfq-form .rfq-result{margin-top:24px;padding:20px;border:1px solid #596B38;background:#F1F4E9;border-radius:5px}
.rep-rfq-form .rfq-result h3{font:500 19px/1.35 Ubuntu,Arial,sans-serif;color:#37452B;margin:0 0 10px}
.rep-rfq-form .rfq-result p{font-size:13px;line-height:1.65;margin:7px 0 0;overflow-wrap:anywhere}
.rep-rfq-form .rfq-result:focus{outline:2px solid #596B38;outline-offset:3px}
.rep-rfq-dialog{padding:0;border:0;border-radius:17px;width:min(1008px,calc(100vw - 48px));max-width:none;height:min(818px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);background:#FAF8F1;color:#37452B;box-shadow:0 25px 90px #26331d55;margin:auto;overflow:hidden}
.rep-rfq-dialog::backdrop{background:rgba(34,43,29,.55)}
.rep-rfq-dialog-shell{height:100%;display:grid;grid-template-columns:61% 39%;min-width:0}
.rep-rfq-modal-content{min-width:0;min-height:0;display:flex;flex-direction:column;background:#FAF8F1}
.rep-rfq-dialog-heading{padding:27px 24px 18px 32px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-shrink:0;border-bottom:1px solid #E3DDCC}
.rep-rfq-dialog-heading h2{font:500 30px/1.2 Ubuntu,Arial,sans-serif;color:#37452B;margin:0}
.rep-rfq-dialog-heading p{font:300 13px/1.6 Ubuntu,Arial,sans-serif;margin:7px 0 0;color:#62694E}
.rep-rfq-close{display:grid;place-items:center;min-width:44px;width:44px;height:44px;border:1px solid #D8D8CC;border-radius:50%;background:#fff;color:#37452B;font:300 30px/1 Ubuntu,Arial,sans-serif;cursor:pointer;flex-shrink:0}
.rep-rfq-close:hover{background:#F1E8D7}
.rep-rfq-dialog-scroll{padding:23px 32px 30px;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.rep-rfq-modal-image{margin:0;position:relative;min-width:0;min-height:0;background:#E5E9DA;border-left:1px solid #E3DDCC;display:flex;align-items:center;justify-content:center}
.rep-rfq-modal-image img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:48% center}
.rep-rfq-modal-image figcaption{position:absolute;bottom:0;left:0;right:0;padding:54px 26px 30px;color:#fff;background:linear-gradient(transparent,rgba(30,50,28,.82));font:500 21px/1.4 Ubuntu,Arial,sans-serif}
@media(max-width:768px){
.rep-rfq-form{padding:24px 20px}
[data-rfq-mount="contact-inline"]>.rep-rfq-form,
[data-rfq-mount="rfq-standalone"]>.rep-rfq-form,
.rep-rfq-dialog .rep-rfq-form{padding:0}
.rep-rfq-dialog{width:calc(100vw - 32px);height:min(818px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);border-radius:15px}
.rep-rfq-dialog-shell{grid-template-columns:minmax(0,1fr)}
.rep-rfq-modal-image{display:none}
.rep-rfq-dialog-heading{padding:20px 18px 15px 22px}
.rep-rfq-dialog-heading h2{font-size:26px}
.rep-rfq-dialog-scroll{padding:20px 22px 26px}
}
@media(max-width:540px){
.rep-rfq-form .rfq-grid{grid-template-columns:minmax(0,1fr);gap:18px}
.rep-rfq-form .rfield-full{grid-column:auto}
.rep-rfq-form input:not([type=checkbox]),.rep-rfq-form select,.rep-rfq-form textarea{font-size:16px}
.rep-rfq-form .rfq-submit-row{align-items:flex-start;flex-direction:column;gap:10px}
.rep-rfq-form .rfq-submit{width:100%}
.rep-rfq-dialog-heading h2{font-size:24px}
.rep-rfq-dialog-heading p{font-size:12px}
.rep-rfq-dialog-scroll{padding-inline:18px}
.rep-rfq-form .rfq-preview-note{padding:13px}
.rep-rfq-form .rfq-models>div{flex-direction:column;gap:0}
}
@media(max-width:360px){
.rep-rfq-form{padding:22px 16px}
[data-rfq-mount="contact-inline"]>.rep-rfq-form,
[data-rfq-mount="rfq-standalone"]>.rep-rfq-form,
.rep-rfq-dialog .rep-rfq-form{padding:0}
}
@media(prefers-reduced-motion:reduce){.rep-rfq-form input,.rep-rfq-form textarea,.rep-rfq-form select{transition:none}}
.rep-rfq-form .rfq-models label span{min-width:0;overflow-wrap:anywhere}
.rep-rfq-form .rfq-models label{max-width:100%}
