.hosted-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(230px,1fr);gap:18px;align-items:start;padding-block:clamp(24px,5vw,66px)}
.hosted-card,.hosted-side{min-width:0;padding:clamp(18px,3.8vw,34px);border-radius:16px;border:1px solid #d5e2f3;background:white}
.hosted-side{background:#edf4ff}.hosted-side h2,.hosted-card h2{font-size:clamp(1.45rem,3vw,2.25rem)}
.hosted-side>a{display:table;margin:13px 0 0}.hosted-card h2+p,.hosted-side p:not(.eyebrow){margin:9px 0}
.hosted-note{font-size:.88rem;color:#405a7d;margin-top:10px}
.hosted-frame{width:100%;display:block;border:1px solid #c9d9ee;border-radius:9px;margin-top:14px;background:#fff}.hosted-frame--large{height:860px}.hosted-frame--medium{height:665px}.hosted-frame--small{height:365px}
@media(max-width:740px){.hosted-grid{grid-template-columns:minmax(0,1fr)}}

/* Quote actions share one baseline and one button treatment, independent of generic hosted forms. */
.quote-page .res-hero{padding-bottom:clamp(35px,5vw,60px)}
.quote-page .res-crumb a{display:inline-flex;align-items:center;min-height:34px;padding:3px 10px;border:1px solid #a4bfed;border-radius:7px;background:#fff;text-decoration:none}
.quote-page .res-crumb a:hover{background:#e4eeff;border-color:#6f9bdc}
.quote-grid{align-items:stretch;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px}
.quote-grid:has(.hosted-frame){align-items:start}
.quote-options,.quote-help{display:flex;flex-direction:column;gap:17px}
.quote-options [data-embed-slot]:empty,.quote-options:has(.hosted-frame) .quote-actions{display:none}
.quote-options .hosted-frame{margin-top:0}
.quote-detail h2{margin:0}
.quote-detail h2+p{margin:8px 0 6px}
.quote-detail .hosted-note{margin:8px 0 0}
.quote-help{background:linear-gradient(130deg,#edf5ff,#e5efff)}
.quote-help h2{margin:0}
.quote-help-copy .eyebrow{margin:0 0 8px}
.quote-help-copy p:not(.eyebrow){margin:9px 0 0}
.quote-actions{display:grid;align-items:stretch;grid-template-columns:minmax(0,1fr);margin-top:auto}
.quote-actions .quote-button{width:100%;min-width:0;min-height:48px;height:100%;padding:8px 12px;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.25;text-decoration:none;text-wrap:balance}
.quote-actions .quote-secondary{background:#fff;color:#1c4282;border:1px solid #9cb5df}
.quote-actions .quote-secondary:hover{background:#eef5ff;color:#142f66;border-color:#7197d5}
.quote-actions .quote-button:focus-visible,.quote-page .res-crumb a:focus-visible{outline:3px solid #3c6fce;outline-offset:3px}
.quote-actions .quote-button[hidden]{display:none!important}
@media(max-width:740px){.quote-grid{grid-template-columns:minmax(0,1fr)}}
.quote-actions .quote-button{min-height:56px}
@media(max-width:500px){.quote-actions .quote-button{min-height:48px}.quote-options,.quote-help{gap:13px}}

/* Keep a provider launcher hidden after the embedded form opens. */
.hosted-page [data-embed-start][hidden]{display:none!important}
