/* Scoped refinement: a short contact path, with optional specification groups. */
.quote-form .optional-details{margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff;}
.quote-form .optional-details>summary,.quote-form .materials-details>summary{cursor:pointer;font-weight:var(--weight-heading);line-height:1.45;min-height:32px;}
.quote-form .optional-details[open]>summary{margin-bottom:var(--space-subheading-copy);}
.quote-form .materials-details{border-top:1px solid var(--line);padding-top:20px;margin:8px 0 24px;}
.quote-form .materials-details[open]>summary{margin-bottom:20px;}
.quote-form .publication-fields[hidden],.quote-form .field[hidden]{display:none!important;}
.quote-form .field-grid.wide{grid-column:1/-1;margin:0;}
.quote-form .publication-fields.field-grid.wide{display:contents;}
.quote-form .field-grid{min-width:0;}
.quote-form .field{min-width:0;}
.quote-form .field small:empty{display:none;}
.quote-form .quote-contact{margin-top:32px;}
.quote-form #spec-change-note{padding:12px 16px;border-left:3px solid var(--accent);}
.quote-form-section .quote-aside{align-self:start;}
@media(max-width:600px){.quote-form .optional-details{padding:16px;}.quote-form .field-grid{grid-template-columns:minmax(0,1fr);}.quote-form select{max-width:100%;font-size:var(--type-input);}.quote-form-section .quote-aside{margin-top:24px;}}

.quote-heading.section{padding-top:40px;padding-bottom:24px;}
.quote-heading h1{font-size:var(--type-quote-title);max-width:24ch;}
.quote-heading .actions{--space-content-action:var(--space-related-action);}
.quote-form-section.section{padding-top:24px;}

/* One open enquiry component on both contact and quotation pages. */
.quote-form-section .quote-layout{grid-template-columns:minmax(0,1fr);max-width:900px;}
.quote-form .quote-contact{margin-top:0;}
.quote-form .optional-label{font-weight:400;font-size:.85em;}
.quote-form .optional-details>summary,.quote-form .materials-details>summary{min-height:44px;display:flex;align-items:center;gap:8px;}
.quote-form .optional-details>summary::before,.quote-form .materials-details>summary::before{content:'+';flex:none;}
.quote-form details[open]>summary::before{content:'−';}
.quote-form .optional-details>summary{list-style:none;}
.quote-form summary::-webkit-details-marker{display:none;}
.quote-form .field label,.quote-form summary{overflow-wrap:anywhere;}
.contact-details .contact-grid{margin-top:0;}

/* P06 only: bring the first fields closer without concealing the form status notice. */
@media(max-width:600px){
 .quote-entry.section{padding-top:24px;padding-bottom:8px;}
 .quote-entry h1{font-size:clamp(28px,8vw,34px);line-height:1.1;margin-bottom:12px;}
 .quote-entry .lead{font-size:var(--type-body);line-height:1.5;margin-bottom:0;}
 .quote-entry+.quote-form-section.section{padding-top:12px;}
 .quote-entry+.quote-form-section .quote-layout{padding-top:0;}
}

/* The labelled fieldset remains accessible without delaying the first contact field. */
.quote-form .quote-contact-legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.quote-form #product-context{margin:0;font-size:var(--type-small);}
