/* Review limited to the Life & Disability lightbox. */
.offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog){width:min(1240px,calc(100vw - 48px));max-width:1240px;max-height:calc(100dvh - 40px)}
.offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog)[open]{display:flex;flex-direction:column}
.offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog) .dialog-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px 24px;flex:none;padding:22px 30px 20px;min-height:0}
.offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog) .dialog-top h2{font-size:30px;line-height:1.2}
.offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog) .dialog-top>[data-close]{grid-column:2;grid-row:1;margin:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts{grid-column:1/-1;display:grid;grid-template-columns:1.2fr .85fr 1fr;gap:24px;margin:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts>div{border-left:1px solid #ffffff35;padding-left:24px;min-width:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts>div:first-child{border:0;padding-left:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts dt{color:#d4dfec;font-size:12px;line-height:1.35;margin:0 0 5px;font-weight:600}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts dd{color:#fff;font-size:17px;line-height:1.3;margin:0;font-weight:750}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts a{color:inherit;text-decoration:underline;text-underline-offset:4px}
.offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog) .dialog-content{flex:1;min-height:0;max-height:none;padding:24px 30px 26px!important;overflow-y:auto;overscroll-behavior:contain}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-why{padding:15px 18px;margin:0;background:#f3f5f7;border:1px solid #dce3ea;border-left:4px solid #f1602e;border-radius:10px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-why h3{font-size:11px!important;font-weight:800;letter-spacing:.08em;line-height:1.4;margin:0 0 6px!important;color:#142441!important}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-why p{margin:0;font-size:15px;line-height:1.55;color:#35465b}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-section{margin:24px 0 0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-section>h3{font-size:21px!important;line-height:1.3;margin:0 0 14px!important;color:#142441!important;scroll-margin-top:10px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-steps li{display:flex;align-items:flex-start;gap:12px;padding:16px 0;min-width:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-step-number{display:grid;place-items:center;flex:none;width:29px;height:29px;background:#10264b;border-radius:50%;font-size:14px;font-weight:800;color:#fff}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-steps h4{font-size:16px;line-height:1.35;margin:3px 0 8px;color:#142441}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-steps p,:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-card p{font-size:14px;line-height:1.6;color:#35465b;margin:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-text-link{display:inline-flex;align-items:center;gap:8px;margin:10px 0 0;padding:0;border:0;background:none;color:#142441;font:inherit;font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:3px;cursor:pointer;line-height:1.5;text-align:left}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-note{display:flex;align-items:center;gap:24px;background:#f3f5f7;border:1px solid #dce3ea;border-radius:10px;padding:12px 16px;margin-top:12px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-note p{font-size:13px;line-height:1.55;color:#35465b;margin:0;flex:1}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-note>.life-text-link{margin:0;flex:none;max-width:190px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-card{padding:18px 20px;border:1px solid #dce3ea;border-radius:12px;background:#fff;min-width:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-title{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:10px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-title h4{font-size:16px;line-height:1.4;margin:0;color:#142441}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-summary-link{display:inline-flex;align-items:center;gap:5px;flex:none;font:inherit;font-size:13px;font-weight:750;line-height:1.5;color:#142441;background:none;border:0;border-bottom:2px solid #f1602e;padding:2px 0;text-decoration:none;cursor:pointer}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-legal{font-size:12px;line-height:1.5;color:#637084;margin:20px 0 0}
:is(.life-protection-dialog,.benefit-layout-dialog) :is(.life-text-link,.life-summary-link):hover{color:#0168ec}
:is(.life-protection-dialog,.benefit-layout-dialog) :is(a,button):focus-visible{outline:3px solid #f1602e;outline-offset:4px}
@media(max-width:760px){
 .offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog){width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:16px}
 .offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog) .dialog-top{padding:16px 18px;gap:14px}
 .offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog) .dialog-top h2{font-size:23px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts{gap:12px;grid-template-columns:1.1fr .8fr 1fr}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts>div{padding-left:10px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts dt{font-size:10px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts dd{font-size:13px;overflow-wrap:anywhere}
 .offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog) .dialog-content{padding:18px!important}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-steps,:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-grid{grid-template-columns:1fr;gap:10px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-steps li{padding:10px 0}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-note{display:block}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-note>.life-text-link{margin-top:8px;max-width:none}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-card{padding:16px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-title{gap:12px}
}
@media print{
 .offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog)[open]{position:absolute;inset:0;width:100%;max-height:none;box-shadow:none}
 .offline-dialog:is(.life-protection-dialog,.benefit-layout-dialog) .dialog-content{overflow:visible;max-height:none}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-card{break-inside:avoid}
}

/* Second Life & Disability review: one purpose panel, then two detail sections. */
:is(.life-protection-dialog,.benefit-layout-dialog) .life-why{padding:16px 20px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-why-grid{display:grid;grid-template-columns:1fr 1.75fr;gap:24px;align-items:start}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-why-grid>p{font-size:15px;line-height:1.55;margin:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-opportunity{padding-left:24px;border-left:1px solid #d5dde7}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-opportunity h4{font-size:13px;line-height:1.4;color:#142441;margin:0 0 5px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-opportunity p{font-size:13px;line-height:1.55;margin:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-opportunity .life-text-link{margin-top:8px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-start{padding:20px;border:1px solid #dce3ea;border-radius:12px;background:#f8f9fb}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-start>h3{padding-bottom:13px;margin-bottom:14px!important;border-bottom:1px solid #dce3ea}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-steps{gap:20px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-steps li{padding:0;align-items:stretch}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-steps li>div{display:flex;flex-direction:column;align-items:flex-start;flex:1;min-width:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-steps h4{margin:3px 0 8px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-steps p{flex:1}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-steps .life-text-link{margin-top:12px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-breakdown{margin:0;display:grid;gap:7px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-breakdown>div{display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-breakdown dt{font-size:13px;line-height:1.6;font-weight:700;color:#142441}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-breakdown dd{margin:0;font-size:14px;line-height:1.6;color:#35465b}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-card strong{font-weight:750;color:#142441}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-card .life-coverage-note{margin-top:10px;font-size:13px}
@media(max-width:980px){
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-why-grid{grid-template-columns:1fr;gap:12px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-opportunity{padding:12px 0 0;border-left:0;border-top:1px solid #d5dde7}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-breakdown>div{grid-template-columns:1fr;gap:1px}
}
@media(max-width:760px){
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-why{padding:14px 16px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-start{padding:16px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-steps{gap:0}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-steps li{padding:12px 0}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-steps li:first-child{padding-top:0}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-steps li:last-child{padding-bottom:0}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-steps li+li{border-top:1px solid #dce3ea}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-steps .life-text-link{margin-top:8px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-breakdown>div{grid-template-columns:100px minmax(0,1fr);gap:10px}
}
@media print{
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-start,:is(.life-protection-dialog,.benefit-layout-dialog) .life-why{break-inside:avoid}
}

/* Third review: Overview, actions and coverage share one section treatment. */
:is(.life-protection-dialog,.benefit-layout-dialog) .life-panel{padding:20px;border:1px solid #dce3ea;border-radius:12px;background:#f8f9fb}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-panel>h3{font-size:21px!important;font-weight:700;letter-spacing:normal;line-height:1.3;color:#142441!important;padding:0 0 13px;margin:0 0 14px!important;border-bottom:1px solid #dce3ea;text-transform:none;scroll-margin-top:10px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-why.life-panel{margin:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-why-grid>p,:is(.life-protection-dialog,.benefit-layout-dialog) .life-enrollment-opportunity p{font-size:14px;line-height:1.6}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-coverage-card{border-color:#e3e8ee}
@media(max-width:760px){
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-panel{padding:16px}
}

/* Overview and coverage stay white; only getting-started actions are shaded. */
:is(.life-protection-dialog,.benefit-layout-dialog) .life-panel{background:#fff}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-start.life-panel{background:#f8f9fb}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts{display:flex;align-items:center;gap:28px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts>div{border:0;padding:0;min-width:0}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-carrier{flex:0 0 160px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-group{flex:0 0 130px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-phone{margin-left:auto}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts dd{font-size:16px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-contact-link{display:inline-flex;align-items:center;gap:9px;min-height:28px;color:#fff;text-decoration:none;white-space:nowrap}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-contact-link svg{display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-contact-text{text-decoration:underline;text-underline-offset:4px}
:is(.life-protection-dialog,.benefit-layout-dialog) .life-contact-link:hover{color:#fff;background:#ffffff15;border-radius:6px}
@media(max-width:980px){
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts{gap:20px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-carrier{flex-basis:125px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-group{flex-basis:100px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts dd{font-size:14px}
}
@media(max-width:760px){
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts{gap:12px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-carrier{flex:0 1 105px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-group{flex:0 1 88px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-contacts dd{font-size:13px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-phone,:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-web{flex:none}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-web{margin-left:-5px}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-phone dt,:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-web dt,:is(.life-protection-dialog,.benefit-layout-dialog) .life-contact-text{display:none}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-contact-link{width:44px;height:44px;min-height:44px;justify-content:center;border:1px solid #ffffff55;border-radius:10px}
}
@media print{
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-header-phone dt,:is(.life-protection-dialog,.benefit-layout-dialog) .life-header-web dt{display:block}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-contact-text{display:inline}
 :is(.life-protection-dialog,.benefit-layout-dialog) .life-contact-link{width:auto;height:auto;border:0;white-space:normal}
}

/* Light grey fill defines all three sections without enclosing borders. */
:is(.life-protection-dialog,.benefit-layout-dialog) .life-panel,
:is(.life-protection-dialog,.benefit-layout-dialog) .life-start.life-panel{border:0;background:#f3f5f7;box-shadow:none}

/* Supporting content shares the approved benefit layout. */
.benefit-layout-dialog .life-header-contacts:not(:has(.life-header-phone)) .life-header-web{margin-left:auto}
.benefit-layout-dialog .approved-step-links{margin-top:auto;display:flex;flex-wrap:wrap;gap:0 14px}
.benefit-layout-dialog .approved-highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;list-style:none;margin:16px 0 0;padding:0}
.benefit-layout-dialog .approved-highlights li{font-size:14px;line-height:1.5;padding:10px 14px;background:#fff;border-radius:8px;color:#35465b}
.benefit-layout-dialog .approved-resource-area{margin-top:20px}
.benefit-layout-dialog .approved-resource-area>h4{font-size:16px;line-height:1.4;margin:0 0 10px;color:#142441}
.benefit-layout-dialog .approved-resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
.benefit-layout-dialog .approved-resource{border-top:1px solid #dce3ea;padding-top:8px;min-width:0}
.benefit-layout-dialog .approved-resource .life-text-link{margin:0;min-height:34px}
.benefit-layout-dialog .approved-resource p{font-size:13px;line-height:1.55;color:#455268;margin:5px 0 0}
.benefit-layout-dialog .approved-plan-facts{margin:0;display:grid;gap:8px}
.benefit-layout-dialog .approved-plan-facts>div{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}
.benefit-layout-dialog .approved-plan-facts dt{font-size:12px;line-height:1.5;color:#637084}
.benefit-layout-dialog .approved-plan-facts dd{margin:0;font-size:14px;line-height:1.5;font-weight:650;color:#142441}
@media(max-width:760px){
 .benefit-layout-dialog .approved-highlights,.benefit-layout-dialog .approved-resource-grid{grid-template-columns:1fr}
 .benefit-layout-dialog .approved-resource .life-text-link{min-height:44px}
 .benefit-layout-dialog .life-header-contacts:not(:has(.life-header-phone)) .life-header-web{margin-left:auto}
}
