/* Live quote integrations: each external form needs its own readable canvas. */
.quote-hero { padding: 30px 0 42px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.quote-hero .breadcrumbs { margin-bottom: 27px; }
.quote-hero h1 { font: 700 clamp(36px, 4.2vw, 57px)/1.12 var(--sans); letter-spacing: -2px; }
.quote-hero h1 em { color: var(--red); font-style: normal; }
.quote-hero .eyebrow { color: var(--brass-dark); margin-bottom: 17px; }
.quote-hero .quote-intro { max-width: 690px; margin-top: 18px; font-size: 16px; line-height: 1.9; color: var(--muted); }
.live-quote-section { padding: 38px 0 68px; }
.live-quote-layout { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 35px; align-items: start; }
.quote-workspace { min-width: 0; }
.live-quote-selector { background: var(--paper); border: 1px solid #cbd3c0; border-radius: 4px; padding: 24px; display: flex; align-items: flex-end; gap: 18px; }
.live-quote-selector label { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; line-height: 1.7; }
.live-quote-selector select { display: block; width: 100%; margin-top: 8px; min-height: 52px; padding: 12px; border: 1px solid #bdc9b3; background: #fff; color: #000000; font: 400 16px/1.5 var(--sans); border-radius: 2px; color-scheme: light; }
.live-quote-selector option { color: #000000; background: #fff; }
.live-quote-selector .button { min-height: 52px; font-size: 13px; }
.quote-provider-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-top: 29px; }
.quote-provider-top h2 { font: 600 21px/1.4 var(--sans); }
.quote-provider-label { margin-top: 5px; color: var(--muted); font-size: 12px; }
.quote-provider-top a { font-size: 13px; line-height: 1.8; text-decoration: underline; text-underline-offset: 4px; }
.quote-guidance { font-size: 14px; line-height: 1.9; color: var(--muted); margin-top: 15px; }
.quote-loading-status { min-height: 21px; font-size: 13px; line-height: 1.8; color: var(--muted); margin: 13px 0; }
.quote-frame-shell { border: 1px solid #c8d2be; border-radius: 4px; overflow: hidden; background: #fff; }
.live-quote-frame { display: block; width: 100%; max-width: 100%; border: 0; min-height: 420px; background: #fff; color-scheme: light; }
/* Critical fix: provider labels are white, but html/body/form are transparent.
   Paint BOTH the replaced iframe canvas and the wrapper, including while
   changing coverages. Never reset specialty frames to a white background. */
.quote-frame-shell[data-theme='dark'],
.live-quote-frame[data-theme='dark'] { background: #101b35; color-scheme: light; }
.quote-frame-shell[data-theme='light'],
.live-quote-frame[data-theme='light'] { background: #fff; color-scheme: light; }
.quote-privacy { margin-top: 18px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.quote-privacy a { text-decoration: underline; text-underline-offset: 3px; }
.quote-direct-link { display: inline-block; margin-top: 14px; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.quote-help .eyebrow { font-size: 10px; }
.quote-help h2 { font-size: 34px; }
.quote-help .aside-phone { font-size: 20px; }
.quote-help ul { padding-left: 17px; margin-top: 17px; list-style: disc; }
.quote-help li { font-size: 13px; line-height: 1.9; margin-top: 10px; color: var(--muted); }
.quote-focused-back { display: none; }
.quote-focused .utility-bar, .quote-focused .site-header, .quote-focused .quote-hero, .quote-focused .site-footer, .quote-focused .quote-help { display: none; }
.quote-focused .live-quote-section { padding: 25px 0; }
.quote-focused .live-quote-layout { display: block; max-width: 1000px; }
.quote-focused .quote-focused-back { display: inline-block; margin-bottom: 20px; font-size: 14px; text-decoration: underline; }
@media (max-width: 1000px) {
  .live-quote-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 25px; }
  .live-quote-selector { padding: 18px; gap: 12px; }
}
@media (max-width: 800px) {
  .live-quote-layout { grid-template-columns: minmax(0, 1fr); }
  .quote-help { margin-top: 8px; }
  .quote-hero h1 { letter-spacing: -1.3px; }
  .live-quote-section { padding-top: 25px; }
}
@media (max-width: 480px) {
  .live-quote-selector { display: block; padding: 16px; }
  .live-quote-selector .button { width: 100%; justify-content: center; margin-top: 14px; }
  .quote-provider-top { display: block; }
  .quote-provider-top > a { display: inline-block; margin-top: 13px; }
  .quote-provider-top h2 { font-size: 19px; }
}
