/* Small Group Quote (design: Design\SmallGroup-QuickQuote). Sits inside .bp, so it uses the broker site's fonts
   (Sculpin Black titles, Benton Sans body), brand tokens and buttons from broker.css; only this page's pieces are here. */
.sg { --sg-line: #e1e6ec; --sg-muted: #64707d; color: #1d2a36; }
.sg .sg-chip { display: inline-block; background: var(--brand-accent-teal); color: #006a6f; border-radius: 999px; padding: .2rem .75rem; font-size: .85rem; font-weight: 700; }
.sg .sg-sub { color: var(--sg-muted); margin: -.9rem 0 1.4rem; }
.sg .sg-hint { color: var(--sg-muted); font-size: .82rem; margin-top: .35rem; }

/* the three questions */
.sg .sg-ask { background: var(--brand-white); border: 1px solid var(--sg-line); border-radius: 14px; padding: 1.25rem 1.5rem; display: grid; grid-template-columns: 1fr 2fr 1.7fr; gap: 1.75rem; }
.sg .sg-ask > div > b { display: block; margin-bottom: .6rem; }
.sg .sg-n { display: inline-flex; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--brand-primary); color: #fff; font-size: .8rem; font-weight: 700; align-items: center; justify-content: center; margin-right: .5rem; }
.sg .sg-agebox { resize: vertical; min-height: 2.6rem; }
.sg .sg-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .5rem; }
.sg .sg-age { background: var(--brand-accent-navy); color: var(--brand-primary); border-radius: 6px; padding: .1rem .5rem; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.sg .sg-age small { font-weight: 500; opacity: .8; }
.sg .sg-age button { border: 0; background: none; color: inherit; padding: 0 0 0 .25rem; opacity: .6; line-height: 1; }
.sg .sg-age button:hover { opacity: 1; }
.sg .sg-seg { display: flex; border: 1px solid #c9d2dc; border-radius: 8px; overflow: hidden; }
.sg .sg-seg button { flex: 1; text-align: center; padding: .55rem .3rem; font-size: .88rem; border: 0; border-right: 1px solid #c9d2dc; background: #fff; color: inherit; line-height: 1.2; font-family: inherit; }
.sg .sg-seg button:last-child { border-right: 0; }
.sg .sg-seg button.on { background: var(--brand-primary); color: #fff; font-weight: 700; }
.sg .sg-seg small { display: block; font-size: .75rem; opacity: .85; }
.sg .sg-own { display: flex; gap: .4rem; margin-top: .5rem; align-items: center; }
.sg .sg-own input { width: 7rem; }
.sg .sg-note { color: var(--sg-muted); font-size: .82rem; margin: .6rem .1rem 1.5rem; }
.sg .sg-warn { background: color-mix(in srgb, var(--brand-accent-orange) 35%, #fff); border: 1px solid var(--brand-accent-orange); border-radius: 10px; padding: .6rem .9rem; margin: 0 0 1rem; font-size: .9rem; }
.sg .sg-empty { background: var(--brand-white); border: 1px dashed #c9d2dc; border-radius: 14px; padding: 2rem; text-align: center; color: var(--sg-muted); }

/* the answers */
.sg .sg-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 1.25rem; }
.sg .sg-card { background: var(--brand-white); border: 1px solid var(--sg-line); border-radius: 14px; padding: 1.35rem 1.5rem; }
.sg .sg-card h2 { font-family: var(--bp-font); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sg-muted); margin: 0 0 .9rem; font-weight: 700; }
.sg .sg-card h2 span { text-transform: none; letter-spacing: 0; font-weight: 500; margin-left: .4rem; }
.sg .sg-big { font-family: var(--bp-font-display); font-weight: 900; color: var(--brand-primary); font-size: 3.4rem; line-height: 1; }
.sg .sg-big + div { margin-top: .4rem; font-weight: 500; }
.sg .sg-range { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--brand-accent-navy), var(--brand-primary)); margin: 1.3rem 0 .45rem; }
.sg .sg-range i { position: absolute; top: -6px; width: 4px; height: 22px; background: var(--brand-secondary); border-radius: 2px; margin-left: -2px; }
.sg .sg-range-l { display: flex; justify-content: space-between; color: var(--sg-muted); font-size: .75rem; }
.sg .sg-by { margin: 1.1rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--sg-line); }
.sg .sg-by li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--sg-line); }
.sg .sg-by b { color: var(--brand-primary); }
.sg .sg-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.sg .sg-plan { border: 1px solid var(--sg-line); border-radius: 12px; padding: 1rem; display: flex; flex-direction: column; }
.sg .sg-metal { font-size: .75rem; font-weight: 700; border-radius: 999px; padding: .15rem .6rem; align-self: flex-start; }
.sg .sg-metal.bronze { background: #f3e3d3; color: #8a4b14; }
.sg .sg-metal.silver { background: #e8ecf0; color: #4a5866; }
.sg .sg-metal.gold { background: #f8edc4; color: #7a5b00; }
.sg .sg-carrier { font-weight: 700; font-size: 1.05rem; margin: .6rem 0 .1rem; }
.sg .sg-pname { color: var(--sg-muted); font-size: .82rem; min-height: 2.2rem; }
.sg .sg-facts { font-size: .82rem; margin: .6rem 0; }
.sg .sg-facts div { display: flex; justify-content: space-between; padding: .15rem 0; }
.sg .sg-pay { margin-top: auto; background: var(--brand-accent-teal); border-radius: 10px; padding: .6rem .75rem; }
.sg .sg-pay .l { font-size: .72rem; color: #006a6f; font-weight: 700; text-transform: uppercase; }
.sg .sg-pay .v { font-family: var(--bp-font-display); font-weight: 900; font-size: 1.75rem; color: #00777c; }
.sg .sg-pay .v small { font-family: var(--bp-font); font-size: .8rem; font-weight: 500; color: var(--sg-muted); }
.sg .sg-prem { font-size: .8rem; color: var(--sg-muted); margin-top: .3rem; }
.sg .sg-team { margin-top: 1.25rem; display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; }
.sg table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.sg th { text-align: right; color: var(--sg-muted); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; padding: .35rem .6rem; border-bottom: 1px solid var(--sg-line); vertical-align: bottom; }
.sg th:first-child, .sg td:first-child { text-align: left; }
.sg td { text-align: right; padding: .5rem .6rem; border-bottom: 1px solid var(--sg-line); }
.sg td.low { color: var(--bp-ok, #1f8a4c); font-weight: 700; }
.sg td.na { color: var(--sg-muted); }
.sg .sg-nudge { background: var(--brand-accent-orange); border: 1px solid #f7c3a2; border-radius: 14px; padding: 1.35rem 1.5rem; align-self: start; }
.sg .sg-nudge h3 { font-family: var(--bp-font); margin: 0 0 .5rem; font-size: 1.2rem; color: #a84300; font-weight: 700; }
.sg .sg-nudge .sg-free { font-family: var(--bp-font-display); font-weight: 900; font-size: 2.8rem; color: var(--brand-secondary); line-height: 1; margin: .35rem 0; }
.sg .sg-nudge ul { padding-left: 1.1rem; margin: .75rem 0 1rem; }
.sg .btn-sg-o { background: var(--brand-secondary); color: #fff; border-radius: 999px; font-weight: 700; padding: .5rem 1.25rem; border: 0; }
.sg .sg-total { margin-top: 1.5rem; background: var(--brand-white); border: 1px solid var(--sg-line); border-radius: 14px; padding: 1rem 1.5rem; display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.sg .sg-total .k { font-size: .72rem; color: var(--sg-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.sg .sg-total .v { font-size: 1.35rem; font-weight: 700; color: var(--brand-primary); }
.sg .sg-total .sp { flex: 1; }
.sg .btn-sg-p { background: var(--brand-primary); color: #fff; border-radius: 999px; font-weight: 700; padding: .55rem 1.3rem; border: 0; }
@media (max-width: 1100px) { .sg .sg-ask, .sg .sg-grid, .sg .sg-team { grid-template-columns: 1fr; } .sg .sg-plans { grid-template-columns: 1fr; } }
@media print {
  .bp-head, .bp-staff-ribbon, .sg .sg-noprint { display: none !important; }
  .bp-wrap { padding: 0 !important; max-width: none !important; }
  .sg .sg-card, .sg .sg-nudge, .sg .sg-total, .sg .sg-ask { break-inside: avoid; }
}
