/* Compact quotation layout; all rules are limited to the quotation form. */
#page.quote-compact27:has(#quoteForm){padding:14px 24px 24px}
.quote-compact27:has(#quoteForm)>.intro{margin:0 0 8px;align-items:center;gap:10px}
.quote-compact27:has(#quoteForm)>.intro h2{font-size:19px;letter-spacing:-.25px;margin:0;line-height:1.3}
.quote-compact27:has(#quoteForm)>.intro .eyebrow{font-size:9px;letter-spacing:1px;margin-bottom:2px}
.quote-compact27:has(#quoteForm)>.intro .tagline{display:none}
.quote-compact27:has(#quoteForm)>.intro>.pill{font-size:10px;padding:4px 8px}
.quote-compact27:has(#quoteForm) .autosave-state{font-size:10px;margin:0 0 7px}
.quote-compact27:has(#quoteForm) .quote-journey{padding:5px 8px;margin:0 0 10px;gap:8px}
.quote-compact27:has(#quoteForm) .journey-steps button{padding:6px 8px;gap:6px;font-size:11px}
.quote-compact27:has(#quoteForm) .journey-number{width:22px;height:22px}
.quote-compact27:has(#quoteForm) #quoteForm>.card{margin-bottom:10px}
.quote-compact27:has(#quoteForm) .primary-step27>details>summary{font-size:18px;font-weight:700;color:#123d66;background:#f0f5fb;border-left:4px solid #a93250;border-bottom:1px solid #cad9e8;padding:11px 15px;line-height:1.3}
.quote-compact27:has(#quoteForm) .primary-step27>details[open]>summary{border-bottom:2px solid #bad0e5}
.quote-compact27:has(#quoteForm) .fold-body{padding:12px 15px}
.quote-compact27:has(#quoteForm) .fold-body>.card-head{margin-bottom:7px}
.quote-compact27:has(#quoteForm) .vehicle-filters{gap:9px;margin-bottom:8px}
.quote-compact27:has(#quoteForm) .vehicle-search-toolbar{margin-bottom:6px}
.quote-compact27:has(#quoteForm) .vehicle-search-toolbar .help{font-size:10px;line-height:1.4;margin:3px 0}
.quote-compact27:has(#vehicleInfo .vehicle-selected27) #results:has(>.vehicle-search-empty:only-child){display:none}
.quote-compact27:has(#quoteForm) .grid{gap:10px}
.quote-compact27:has(#quoteForm) input:not([type=checkbox]):not([type=radio]),.quote-compact27:has(#quoteForm) select{padding:9px 10px}
.quote-compact27:has(#quoteForm) .label{font-size:12px;margin-bottom:4px}
.quote-compact27.quote-admin27:has(#quoteForm) .label{font-size:11px}
.quote-compact27.quote-admin27:has(#quoteForm) .help{font-size:10px}
.quote-compact27.quote-operator27:has(#quoteForm) .internal-detail27{display:none}
.quote-compact27:has(#quoteForm) .insured-bounds27{display:flex;flex-wrap:wrap;gap:4px 14px;padding:5px 0 7px;color:#50657c;font-size:11px;line-height:1.45}
.quote-compact27:has(#quoteForm) .insured-bounds27 b{color:#123d66;font-variant-numeric:tabular-nums}
.quote-compact27:has(#quoteForm) .vehicle-selected27{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 12px;margin:4px 0 9px;border:1px solid #c9d9e8;border-radius:9px;background:#f4f8fc}
.quote-compact27:has(#quoteForm) .vehicle-selected27 b{font-size:15px;line-height:1.35;display:block}
.quote-compact27:has(#quoteForm) .vehicle-selected27 small{display:block;font-size:11px;color:#546a80;margin-top:3px}
.quote-compact27:has(#quoteForm) .vehicle-selected27>span{font-size:10px;color:#187764;white-space:nowrap}
.quote-compact27:has(#quoteForm) #otherOptions27>details>summary{font-size:14px;color:#425c76;padding:12px 16px}
.quote-compact27:has(#quoteForm) #otherOptions27 .card{margin-bottom:8px;box-shadow:none;border-radius:8px}
.quote-compact27:has(#quoteForm) #otherOptions27 .quote-fold>summary{font-size:13px;padding:10px 12px}
.quote-compact27:has(#quoteForm) #otherOptions27 details:not([open])>summary:after{content:'＋'}
.quote-compact27:has(#quoteForm) #otherOptions27 details[open]>summary:after{content:'−'}
.quote-compact27:has(#quoteForm) .reference-bounds{display:none}
.quote-compact27:has(#quoteForm) .reference-priority{padding:10px}
.quote-compact27:has(#quoteForm) .reference-priority strong{font-size:20px;margin:6px 0}
.quote-compact27:has(#quoteForm) .reference-priority p{font-size:11px;line-height:1.5}
@media(min-width:900px){.quote-compact27:has(#quoteForm) .vehicle-filters{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:650px){#page.quote-compact27:has(#quoteForm){padding:10px 12px}.quote-compact27:has(#quoteForm)>.intro h2{font-size:17px}.quote-compact27:has(#quoteForm) .primary-step27>details>summary{font-size:17px;padding:11px 12px}.quote-compact27:has(#quoteForm) .fold-body{padding:11px 12px}.quote-compact27:has(#quoteForm) .journey-steps button{font-size:10px;padding:5px 2px}.quote-compact27:has(#quoteForm) .vehicle-selected27>span{display:none}}
