/* FAMILY ROOM — quote flow visual shell (CSS only; markup, Alpine and ids untouched). */
body.sc-family.page-template-page-quote { background: var(--sc-bg); }
.sc-family .sacraw-quote-subbar { background: var(--sc-paper) !important; border-bottom: 1px solid var(--sc-rule) !important; }
.sc-family .sacraw-quote-progress-fill { background: var(--sc-terra) !important; }
.sc-family .sacraw-stepper__marker { border-radius: 0 !important; width: 100% !important; height: 3px !important; background: var(--sc-rule) !important; border: 0 !important; box-shadow: none !important; }
.sc-family .sacraw-stepper__item.is-done .sacraw-stepper__marker { background: var(--sc-forest) !important; }
.sc-family .sacraw-stepper__item.is-current .sacraw-stepper__marker { background: var(--sc-terra) !important; height: 5px !important; }
.sc-family .sacraw-stepper__label { font-family: var(--sc-mono) !important; font-size: 10.5px !important; letter-spacing: .1em; text-transform: uppercase; }
.sc-family .sacraw-stepper__item.is-current .sacraw-stepper__label { color: var(--sc-ink) !important; font-weight: 600; }
.sc-family .sacraw-quote-steps h1, .sc-family .sacraw-quote-steps h2 { font-family: var(--sc-display) !important; font-weight: 400 !important; letter-spacing: -.01em; }
.sc-family .sacraw-quote-steps .card, .sc-family .sacraw-aud-card, .sc-family .sacraw-ms-card { border-radius: 2px !important; background: var(--sc-paper) !important; border: 1px solid var(--sc-rule) !important; box-shadow: none !important; }
.sc-family .sacraw-quote-steps .card.shadow-lg, .sc-family .sacraw-quote-steps .card.border-\[var\(--color-primary\)\] { border: 2px solid var(--sc-forest) !important; box-shadow: 0 16px 36px rgba(47,59,51,.12) !important; }
.sc-family .sacraw-aud-title { font-family: var(--sc-display); font-size: 1.3em; }
.sc-family .sacraw-card-badge { border-radius: 2px !important; background: var(--sc-terra) !important; font-family: var(--sc-mono); letter-spacing: .06em; }
.sc-family .sf-ded-chip { border-radius: 2px !important; }
.sc-family .sacraw-dest-strip { border-radius: 2px !important; background: var(--sc-sand) !important; }
.sc-family .sacraw-price-breakdown { font-family: var(--sc-body); border-top: 2px solid var(--sc-ink) !important; }
.sc-family .sacraw-price-breakdown > * { border-bottom: 1px dotted var(--sc-rule); }
.sc-family .sacraw-sticky-bar { background: var(--sc-paper) !important; border-top: 1px solid var(--sc-rule) !important; }
.sc-family .sacraw-quote-steps input:not([type=checkbox]):not([type=radio]), .sc-family .sacraw-quote-steps select { border-radius: 2px !important; font-size: 16px; }

/* Lab-inspired clarity, retaining the existing quote controls and behaviour. */
.sc-family .sacraw-quote-steps h1, .sc-family .sacraw-quote-steps h2 { font-weight: 600 !important; line-height: 1.15; }
.sc-family .sacraw-stepper__label { font-family: var(--sc-body) !important; text-transform: none; letter-spacing: 0; font-size: 12px !important; }
.sc-family .sacraw-quote-steps .card, .sc-family .sacraw-aud-card, .sc-family .sacraw-ms-card { border-radius: 8px !important; }
.sc-family .sacraw-quote-steps input:not([type=checkbox]):not([type=radio]), .sc-family .sacraw-quote-steps select { border-radius: 6px !important; min-height: 48px; }

/* Customer-first quote context. Display/navigation only; insurer validation remains authoritative. */
.cr-quote-progress{display:flex;gap:14px;align-items:center}.cr-quote-progress>strong{font-size:13px;color:var(--sc-forest);font-weight:600}.cr-quote-progress>span{font-size:11px;color:var(--sc-muted)}
.cr-quote-context{padding-top:18px;max-width:760px}.cr-quote-prep,.cr-trip-review{background:var(--sc-paper);border:1px solid var(--sc-rule);border-radius:6px;margin:0 0 12px;color:var(--sc-ink)}
.cr-quote-prep summary,.cr-trip-review summary{cursor:pointer;padding:15px 18px;font:600 14px/1.5 var(--sc-body);min-height:50px}.cr-quote-prep summary::marker,.cr-trip-review summary::marker{color:var(--sc-terra)}
.cr-quote-prep[open] summary,.cr-trip-review[open] summary{border-bottom:1px solid var(--sc-rule)}.cr-quote-prep>div,.cr-trip-review-body{padding:16px 18px}.cr-quote-prep p,.cr-trip-review-body>p{font-size:13px;line-height:1.7;color:var(--sc-muted);margin:0 0 10px}
.cr-trip-glance{display:block;font-size:12px;font-weight:400;color:var(--sc-muted);margin:3px 0 0 15px}.cr-trip-review dl{margin:0 0 12px}.cr-trip-review dl>div{display:grid;grid-template-columns:90px 1fr auto;gap:15px;border-bottom:1px solid var(--sc-rule);padding:13px 0;align-items:start;font-size:13px}.cr-trip-review dt{color:var(--sc-muted)}.cr-trip-review dd{margin:0;overflow-wrap:anywhere}.cr-trip-review button,.cr-checkout-heading button,.cr-checkout-email button,.cr-text-button{background:transparent;border:0;color:var(--sc-forest);font:600 12px/1.5 var(--sc-body);text-decoration:underline;text-underline-offset:3px;min-height:30px;cursor:pointer}.cr-trip-review button:disabled,.cr-text-button:disabled,.cr-checkout-email button:disabled{opacity:.5;cursor:wait}.cr-trip-review .cr-context-note,.cr-context-note{font-size:12px;line-height:1.65;color:var(--sc-muted);margin:10px 0 18px}
.cr-price-change{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;padding:15px 18px;border-left:3px solid var(--sc-terra);border-radius:4px;background:#eee5d7;margin:12px 0;font-size:13px;line-height:1.6}.cr-price-change>span:last-child{font-size:11px;color:var(--sc-muted)}
.cr-buying-for-family{border-left:3px solid var(--sc-terra);background:var(--sc-paper);padding:18px 20px;margin-bottom:24px;text-align:left}.cr-buying-for-family strong{font-size:15px}.cr-buying-for-family p{font-size:13px;line-height:1.7;color:var(--sc-muted);margin:8px 0 0}
.cr-why-ask{margin:8px 0 0;font-size:12px;color:var(--sc-muted)}.cr-why-ask summary{min-height:32px;cursor:pointer;padding:6px 0;text-decoration:underline;text-underline-offset:3px}.cr-why-ask p{line-height:1.7;margin:7px 0 10px}
.cr-checkout-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.cr-checkout-heading .cr-kicker{margin:0 0 7px;font-size:10px}.cr-checkout-heading h3{margin-bottom:0}.cr-checkout-email{margin:22px 0;display:grid;grid-template-columns:1fr auto;gap:6px 15px;padding:15px 0;border-block:1px solid var(--sc-rule)}.cr-checkout-email>span{font-size:11px;color:var(--sc-muted)}.cr-checkout-email>strong{grid-column:1;overflow-wrap:anywhere;font-size:14px;font-weight:500}.cr-checkout-email>button{grid-column:2;grid-row:1/3}
.cr-after-purchase{list-style:none;padding:0;margin:30px auto;max-width:580px;text-align:left;display:grid;gap:15px}.cr-after-purchase li{padding:18px;background:var(--sc-paper);border:1px solid var(--sc-rule);border-radius:5px}.cr-after-purchase strong,.cr-after-purchase span{display:block}.cr-after-purchase strong{font-size:15px;margin-bottom:7px}.cr-after-purchase span{font-size:13px;line-height:1.6;color:var(--sc-muted)}
@media(max-width:600px){.cr-trip-review dl>div{grid-template-columns:1fr auto;gap:5px 12px}.cr-trip-review dt{grid-column:1}.cr-trip-review dd{grid-column:1}.cr-trip-review dl button{grid-column:2;grid-row:1/3}.cr-price-change{grid-template-columns:1fr;gap:8px}.cr-quote-progress{gap:9px}.cr-quote-progress>strong{font-size:11px}.cr-quote-progress>span{font-size:10px}.cr-checkout-heading{align-items:flex-start}.cr-checkout-email{grid-template-columns:1fr}.cr-checkout-email>button{grid-row:auto;grid-column:1;text-align:left}.cr-trip-glance{font-size:11px}}
@media(prefers-reduced-motion:reduce){.sacraw-quote-progress-fill{transition:none!important}.sacraw-quote-steps section{transition:none!important}}
/* Keep carrier terms fully visible, with reading space between the original clauses. */
.sc-family .sacraw-terms-panel{line-height:1.85}.sc-family .sacraw-terms-panel p,.sc-family .sacraw-terms-panel li{max-width:68ch;line-height:1.85;font-size:14px}.sc-family .sacraw-terms-panel li{margin-bottom:16px;padding-left:3px}.sc-family .sacraw-terms-panel h4{line-height:1.55;margin:25px 0 15px}.sc-family .sacraw-terms-panel label{line-height:1.8}

/* Keep the cold-entry audience choices separate from subsequent quote steps. */
.sc-family .sacraw-quote-steps:has(.sacraw-aud-gate:not([style*="display: none"])) {
    justify-content:flex-start; min-height:0; padding-top:16px!important;
}
.sc-family .sacraw-aud-gate { margin:0; }
.sc-family .sacraw-aud-gate .sacraw-aud-card {
    position:relative; padding:12px 42px 12px 14px; text-align:left;
}
.sc-family .sacraw-aud-gate .sacraw-aud-card::after {
    content:""; position:absolute; right:18px; top:50%; width:9px; height:9px;
    border:solid var(--sc-forest); border-width:2px 2px 0 0; transform:translateY(-50%) rotate(45deg);
}
.sc-family .sacraw-aud-gate .sacraw-aud-card:is(:hover,:focus-visible) { border-color:var(--sc-forest)!important; }
.sc-family .sacraw-aud-gate .sacraw-aud-card:focus-visible { outline:3px solid var(--sc-forest); outline-offset:2px; }
@media(max-width:639px) {
    .sc-family .sacraw-aud-gate .sacraw-aud-card { padding-block:9px; }
    .sc-family .sacraw-aud-gate .sacraw-aud-desc { line-height:1.35; }
    .sc-family .sacraw-aud-gate h2 { font-size:26px; }
}
