/* "Get a quote" buttons (.quote-prism: header, footer, menu): the light that turns around the button and the arrow
   inside it, in blue instead of rose and violet. Loaded last on every site page; the doubled classes outrank the
   bundles' `.design-repaired …` rules. */

/* the beam running around the border (the page turns it with --quote-turn); same stops as the original */
html body .quote-prism.quote-prism::before {
  background: conic-gradient(from var(--quote-turn),
    transparent 0 70%,
    rgb(56 132 240 / 0) 71.5%,
    rgb(56 132 240 / .92) 74%,
    rgb(28 168 238 / .96) 77%,
    rgb(170 222 255 / .96) 79.2%,
    rgb(64 116 226 / .82) 80.5%,
    rgb(36 156 236 / .9) 82%,
    rgb(56 132 240 / .9) 85%,
    rgb(56 132 240 / 0) 88.5%,
    transparent 90% 100%);
}

/* the turning glow layers some pages show behind the button */
html body .quote-prism.quote-prism > i::before {
  background: conic-gradient(#0a0c14, #2f6fe0 5%, #0a0c14 17%, #0a0c14 50%, #18a8e8 61%, #0a0c14 69%);
}
html body .quote-prism.quote-prism > i:nth-child(3)::before {
  background: conic-gradient(transparent, #a9cdfb 5%, transparent 14%, transparent 50%, #8fdcf5 60%, transparent 68%);
}

/* the button's frame and hover: cool blue-grey instead of rose (the footer's rule is very specific, hence !important) */
html body .quote-prism .quote-prism-button.quote-prism-button { border-color: rgb(112 150 206 / .3); }
html body .quote-prism .quote-prism-button.quote-prism-button:is(:hover, :focus-visible) {
  border-color: rgb(118 176 240 / .62) !important;
  background: linear-gradient(115deg, #121c2e, #0a0f19) !important;
}
html body .quote-prism .quote-prism-button.quote-prism-button:focus-visible { outline-color: #9cc8f2; }

/* the arrow: line, head and the spark that runs along it */
html body .quote-prism .quote-arrow.quote-arrow { color: #a9c8ee; }
html body .quote-arrow.quote-arrow::before { background: linear-gradient(90deg, #4f8de6, #7cc4f2 65%, #b7e3fb); }
html body .quote-arrow.quote-arrow > i { background: linear-gradient(90deg, transparent, #d9f0ff); }

/* Quote dialog choices on phones: 12 choices fill two columns exactly, so the last one keeps its own cell */
@media (max-width:640px){html:root body .nlq-choices>.nlq-choice:last-child:nth-child(even){grid-column:auto}}
