.q-quote{max-width:1000px;margin:0 auto;color:#fff}.q-quote h1{font-size:clamp(27px,3.5vw,38px);line-height:1.2;color:var(--q-accent);max-width:850px;margin-bottom:18px}.q-quote-intro{max-width:780px;line-height:1.65;margin-bottom:28px}.q-quote-form fieldset{min-width:0;margin:0 0 26px;padding:24px;border:1px solid #505050;border-radius:8px;background:#191919}.q-quote-form legend{padding:0 10px;color:var(--q-accent);font-weight:700;letter-spacing:.04em;font-size:18px}.q-quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px}.q-quote-field{min-width:0}.q-quote-field label{display:block;margin:0 0 7px;font-size:15px;font-weight:600}.q-quote-form input:not([type=checkbox]):not([type=hidden]),.q-quote-form select,.q-quote-form textarea{display:block;width:100%;min-height:48px;margin:0;border:1px solid #aaa;border-radius:4px;padding:11px 12px;background:#fff;color:#181818;font-size:16px;line-height:1.4}.q-quote-form textarea{min-height:110px;resize:vertical}.q-quote-span{grid-column:1/-1}.q-quote-choice{display:flex;gap:12px;align-items:flex-start;cursor:pointer;padding:14px;border:1px solid #626262;border-radius:5px;line-height:1.5}.q-quote-choice input{flex:0 0 20px;width:20px;height:20px;margin:3px 0 0;accent-color:var(--q-accent)}.q-quote-form .q-quote-choice small{display:block;font-size:14px;font-weight:400}.q-quote-label{margin-bottom:12px;font-weight:600}.q-quote-help{font-size:14px;line-height:1.6;margin-top:12px}.q-quote-help a,.q-quote a:not(.q-button){text-decoration:underline;text-underline-offset:3px}.q-quote-reference{display:grid;grid-template-columns:minmax(180px,260px) 1fr;gap:28px;padding:24px;background:#111;border:1px solid #505050;border-radius:8px;margin:24px 0}.q-quote-reference figure{margin:0}.q-quote-reference img{display:block;width:100%;height:auto;border-radius:4px}.q-quote-reference figcaption{font-size:13px;line-height:1.45;margin-top:9px}.q-quote-reference h2{font-size:23px;color:var(--q-accent);margin-bottom:16px}.q-quote-reference ol{padding-left:22px;line-height:1.65}.q-quote-reference li{margin-bottom:12px}.q-quote-errors{border:1px solid #ffb29f;background:#35251f;color:#fff;padding:18px;margin:20px 0;border-radius:5px}.q-quote-errors a{color:#fff}.q-quote-summary{display:grid;grid-template-columns:minmax(130px,1fr) 2fr;gap:10px 20px;overflow-wrap:anywhere}.q-quote-summary dt{font-weight:700}.q-quote-summary dd{margin:0;white-space:pre-wrap}.q-quote-form button{margin-top:20px}.q-quote-review{padding:24px;background:#191919;border:1px solid #555;border-radius:8px;margin-bottom:24px}.q-quote-review h2{color:var(--q-accent);margin-bottom:20px}.q-quote-actions{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:24px}.q-quote-ribbon{font-size:13px;text-transform:uppercase;letter-spacing:.09em;margin-bottom:10px}.q-quote pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit}.q-quote-required{font-size:14px;margin-bottom:25px}.q-rack-routing[hidden]{display:none}
@media(max-width:640px){.q-quote-grid{grid-template-columns:1fr;gap:18px}.q-quote-form fieldset{padding:20px 16px}.q-quote-form legend{font-size:16px;padding:0 7px}.q-quote-reference{grid-template-columns:1fr;padding:18px;gap:20px}.q-quote-reference figure{max-width:280px;margin:0 auto}.q-quote-summary{grid-template-columns:1fr;gap:4px}.q-quote-summary dd{margin-bottom:12px}.q-quote-form button,.q-quote-actions .q-button{width:100%;text-align:center}.q-quote h1{font-size:28px}.q-quote-review{padding:18px}}
/* Compact quote form, with explicit touch controls and mobile-only camera inputs. */
.q-quote-intro{margin-bottom:16px}.q-quote-required{margin:14px 0 20px}.q-quote .q-quote-quantity{display:flex;align-items:stretch;gap:8px;max-width:220px}.q-quote-form .q-quote-quantity input{min-width:0;text-align:center;flex:1;appearance:textfield;-moz-appearance:textfield}.q-quote-quantity input::-webkit-inner-spin-button,.q-quote-quantity input::-webkit-outer-spin-button{appearance:none;margin:0}.q-quote-form .q-quote-quantity button{display:block;width:48px;min-width:48px;min-height:48px;margin:0;padding:8px;border:1px solid #a68b54;border-radius:4px;background:#30291e;color:#ffce70;font-size:17px}.q-quote-form .q-quote-quantity button:disabled{opacity:.4}.q-quote-form [hidden]{display:none!important}.q-quote-measure{margin-top:10px;font-size:14px}.q-quote-measure summary{cursor:pointer;color:#f5c365;text-decoration:underline;padding:5px 0}.q-quote-measure p{font-size:13px;line-height:1.5}.q-quote-measure img{display:block;max-width:100%;width:260px;height:auto;margin-top:10px}.q-quote-photos{display:none}.q-quote-photo label{display:block;font-size:15px;font-weight:600;margin-bottom:10px}.q-quote-photo-preview{display:block;max-width:100%;max-height:180px;object-fit:contain;margin:12px 0}.q-quote-photo-status{font-size:13px;margin:10px 0;line-height:1.4}.q-quote-form .q-quote-photo-remove{margin:4px 0 0;min-height:44px;padding:8px 12px;background:transparent;color:#ffce70;border:1px solid #806b3c;border-radius:4px;font-size:14px}.q-quote-form input[type=file]{font-size:14px;white-space:normal;padding:9px;overflow:hidden}.q-quote-form input[type=file]::file-selector-button{min-height:38px;max-width:100%;margin-right:8px;border:0;border-radius:3px;background:#30291e;color:#ffce70;padding:8px 10px}
@media(max-width:780px){.q-quote-photos:not([hidden]){display:block}.q-quote-photos .q-quote-grid{grid-template-columns:1fr}.q-quote-photos>p{font-size:14px;line-height:1.5;margin:0 0 16px}.q-quote-form .q-quote-quantity button{width:48px}}
/* Photos on every device; separate gallery/camera actions on mobile. */
.q-quote-form .q-quote-photos{display:block}
.q-quote-photos .q-quote-grid{grid-template-columns:1fr 1fr}
.q-quote-photo-actions{display:flex;gap:10px;flex-wrap:wrap}
.q-quote-form .q-quote-photo-actions button{width:auto;margin:0;padding:10px 14px;min-height:46px;border:1px solid #bd9344;border-radius:4px;background:#30291e;color:#ffce70;font-size:15px}
.q-photo-enhanced input[type=file]{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.q-quote-measure{margin:14px 0 0}
.q-quote-measure figcaption{font-size:14px;color:#f5c365;margin:0 0 10px}
.q-quote-measure img{width:230px;height:auto;max-width:100%;border-radius:4px;margin:0}
@media(max-width:780px){.q-quote-photos .q-quote-grid{grid-template-columns:1fr}.q-quote-photo-actions button{flex:1}.q-quote-measure img{width:260px}}

/* Inline photo alternatives on phones; existing photo fields are moved, never duplicated. */
.q-quote-maxrotor-help{display:inline-block;margin-top:7px;font-size:13px;line-height:1.5;color:#ffce70}
.q-quote-input-or-photo input{min-width:0}
.q-quote-photo-inline .q-quote-photo-status:empty{display:none}
@media(max-width:780px){
  .q-quote-input-or-photo{display:grid;grid-template-columns:minmax(0,1fr) auto 48px;align-items:center;gap:10px}
  .q-quote-input-or-photo:not(:has(.q-quote-camera:not([hidden]))){grid-template-columns:1fr}
  .q-quote-photo-or{font-size:16px;color:#fff}
  .q-quote-form .q-quote-camera{display:flex;align-items:center;justify-content:center;width:48px;min-width:48px;height:48px;min-height:48px;margin:0;padding:10px;border:1px solid #bd9344;border-radius:4px;background:#30291e;color:#ffce70;cursor:pointer}
  .q-quote-form .q-quote-camera[aria-expanded=true]{background:#f5b72e;color:#181818}
  .q-quote-photo-inline .q-quote-photo-actions{margin-top:10px}
  .q-quote-photo-inline .q-quote-photo-actions button{flex:1;padding:10px 8px;font-size:14px}
  .q-quote-photo-inline .q-quote-photo-preview{max-height:140px;margin-top:10px}
}

.q-contact-form .q-contact-quote-link{display:inline-block;margin:0 0 8px;color:#ffce70;text-decoration:underline;text-underline-offset:3px;font-size:14px;line-height:1.5}

.q-contact-form #q-message::placeholder{color:#666;opacity:1}

/* The two request forms share customer fields and responsive spacing. */
.q-contact-form .q-customer-fields{min-width:0;margin:22px 0;padding:20px;border:1px solid #505050;border-radius:6px}
.q-contact-form .q-customer-fields legend{padding:0 8px;color:var(--q-accent);font-weight:700}
.q-customer-fields .q-quote-field label{margin:0 0 7px}
.q-contact-form .q-customer-fields input,.q-contact-form .q-customer-fields select{display:block;width:100%;max-width:100%;min-height:48px;margin:0;padding:11px 12px;border:1px solid #aaa;border-radius:4px;background:#fff;color:#181818;font-size:16px;line-height:1.4}
.q-contact-form [hidden]{display:none!important}
@media(max-width:640px){.q-contact-form .q-customer-fields{padding:18px 12px}}
