/* Only the summary follows the page; explanations never enlarge it. */
.result-details-dialog{width:min(860px,calc(100vw - 32px));max-height:calc(100dvh - 40px);box-sizing:border-box;padding:0;border:1px solid #cce2d5;border-radius:16px;color:#193d46;background:#fff;overflow:auto}
.result-details-dialog::backdrop{background:#132f4266}
.result-details-dialog>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:#f0f9f3;border-bottom:1px solid #cce2d5}
.result-details-dialog h2{margin:0;font-size:var(--navigator-type-section,22px)}
.result-details-body{padding:20px;font-size:var(--navigator-type-body,16px);line-height:1.5}
.result-details-body .sidebar{display:block!important;position:static!important;width:100%;max-width:none;overflow:visible!important}
.result-details-body #analysisLegacy{display:none}
.result-details-body .analysis-card{margin:0;background:#fff;border:0;padding:0}
.result-details-body .offer-calculation-details>summary{display:none}
.result-details-button,[data-result-close]{font:600 14px/1.4 var(--paytec-font-text,Arial,sans-serif);padding:8px 12px;border:1px solid #8db8a4;border-radius:8px;background:#fff;color:#245f48;cursor:pointer;min-height:40px}
.result-details-button:focus-visible,[data-result-close]:focus-visible{outline:3px solid #0076b3;outline-offset:2px}
@media screen{
body.analysis-preview-view:not(.analysis-results-full) .analysis-results-column{position:sticky;align-self:start;top:calc(var(--result-nav-height,80px) + 12px);max-height:none;overflow:visible}
body.analysis-preview-view:not(.analysis-results-full) #analysisOpeningDay{display:none}
body.analysis-preview-view:not(.analysis-results-full) #analysisLiveImpact{padding:12px;margin:0;box-sizing:border-box}
body.analysis-preview-view:not(.analysis-results-full) #analysisLiveImpact .analysis-live-values{gap:10px}
body.analysis-preview-view:not(.analysis-results-full) #analysisLiveImpact .analysis-live-values>div{gap:2px}
body.analysis-preview-view:not(.analysis-results-full) #analysisLiveImpact .analysis-live-values small{display:none}
body.analysis-preview-view:not(.analysis-results-full) #analysisLiveImpact>p{font-size:14px!important;line-height:1.35;margin:8px 0}
#analysisLiveImpact .result-details-button{margin:8px 0 0 8px}
body.analysis-preview-view:not(.analysis-results-full) #analysisLiveImpact .analysis-results-expand{margin-top:8px;padding:8px 12px;min-height:40px}
.bn-single #singleApp{max-width:1400px}
.bn-single #workspace:has(>#offerLiveImpact){display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}
.bn-single #workspace:has(>#offerLiveImpact)>*{grid-column:1;min-width:0}
.bn-single #workspace>#offerLiveImpact{grid-column:2;grid-row:1 / span 5}
.bn-single #offerLiveImpact,.bn-single #purchaseLiveImpact{position:sticky;align-self:start;top:calc(var(--result-nav-height,80px) + 12px);padding:12px;margin:0;z-index:15}
.bn-single .offer-live-values{display:grid;grid-template-columns:1fr;gap:12px;margin:12px 0}
.bn-single .offer-live-metric{gap:3px}
.bn-single .offer-live-metric>strong{white-space:nowrap;font-size:var(--navigator-type-section,22px)!important}
.bn-single .offer-live-note{font-size:14px!important;margin:8px 0;line-height:1.35}
.bn-single .offer-live-heading{gap:6px;font-size:16px!important}
.bn-single .offer-live-heading [data-single-scenario]{margin-left:auto;padding:6px 8px;max-width:140px}
.bn-single #regularPurchasePanel:has(#purchaseLiveImpact){display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}
.bn-single #regularPurchasePanel:has(#purchaseLiveImpact)>*{grid-column:1;min-width:0}
.bn-single #regularPurchasePanel>#purchaseLiveImpact{grid-column:2;grid-row:1 / span 2}
}
@media screen and (max-width:1000px){
body.analysis-preview-view:not(.analysis-results-full) .analysis-results-column{display:contents}
body.analysis-preview-view:not(.analysis-results-full) #analysisLiveImpact{position:sticky;top:var(--result-nav-height,80px);z-index:25}
.bn-single #workspace:has(>#offerLiveImpact),.bn-single #regularPurchasePanel:has(#purchaseLiveImpact){display:block}
.bn-single #offerLiveImpact,.bn-single #purchaseLiveImpact{top:var(--result-nav-height,80px);margin-bottom:16px}
.bn-single .offer-live-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bn-single .offer-live-metric:has([data-live-impact="benefit"]){grid-column:auto}
.bn-single .offer-live-metric>strong{white-space:normal}
.bn-single .offer-live-note{display:none}
}
@media screen and (max-width:600px){.bn-single .offer-live-values{grid-template-columns:repeat(2,minmax(0,1fr))}.bn-single .offer-live-metric:has([data-live-impact="benefit"]){grid-column:1/-1}.result-details-body{padding:14px}}
@media screen and (min-width:1001px) and (max-height:760px){body.analysis-preview-view:not(.analysis-results-full) #analysisLiveImpact .analysis-live-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}body.analysis-preview-view:not(.analysis-results-full) #analysisLiveImpact .analysis-live-values strong{font-size:22px!important}}
@media print{.result-details-dialog,.result-details-button,#purchaseLiveImpact{display:none!important}}

@media screen{
body.journey-smart-analysis .analysis-results-column{display:none!important}
body.journey-smart-analysis #journeySmartImpact{padding:12px;max-height:none;overflow:visible;top:calc(var(--journey-nav-height,80px) + 12px)}
#journeySmartImpact .journey-effect-values{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;margin-top:12px}
#journeySmartImpact .journey-effect-values>div{padding:0;border:0}
#journeySmartImpact .journey-effect-values strong{font-size:22px!important;white-space:nowrap;margin-top:3px}
#journeySmartImpact .journey-effect-values span{font-size:14px!important;min-height:0}
#journeySmartImpact .result-details-button{margin-top:10px;margin-right:6px}
#journeySmartImpact #smartAnalysisReturn{font-size:14px;margin-top:10px}
#journeySmartImpact .journey-day-summary,#journeySmartImpact .journey-results-back{display:none}
body.journey-results-full #mainHero,body.journey-results-full .journey-context,body.journey-results-full .workspace>.main,body.journey-results-full .cloud-appointment-bar{display:none!important}
body.journey-results-full .workspace{display:block!important}
body.journey-results-full #journeySmartImpact{position:static;width:100%;padding:24px}
body.journey-results-full #journeySmartImpact .journey-effect-values{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
body.journey-results-full #journeySmartImpact .journey-effect-values strong{font-size:26px!important}
body.journey-results-full #journeySmartImpact .journey-day-summary,body.journey-results-full #journeySmartImpact .journey-results-back{display:block}
body.journey-results-full #journeySmartImpact [data-journey-expand]{display:none}
#journeyCalculationDialog .journey-smart-financial>summary{display:none}
}
@media screen and (max-width:1000px){body.journey-smart-analysis #journeySmartImpact{position:sticky;top:var(--journey-nav-height,80px);z-index:25}body.journey-results-full #journeySmartImpact .journey-effect-values{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media screen{
body.journey-smart-analysis:not(.journey-results-full) #journeySmartImpact .journey-effect-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
body.journey-smart-analysis:not(.journey-results-full) #journeySmartImpact .journey-effect-heading h2{font:600 16px/1.3 var(--paytec-font-text,Arial,sans-serif)!important;margin:0!important}
body.journey-smart-analysis:not(.journey-results-full) #journeySmartImpact .journey-effect-heading>span{font-size:14px!important;white-space:nowrap}
body.journey-smart-analysis:not(.journey-results-full) #journeySmartImpact .journey-effect-values strong{font:600 22px/1.3 var(--paytec-font-text,Arial,sans-serif)!important}
body.journey-smart-analysis:not(.journey-results-full) #journeySmartImpact .journey-effect-values>div:nth-child(n+3){grid-column:1/-1}
body.journey-smart-analysis:not(.journey-results-full) #journeySmartImpact .journey-effect-values span{font-size:14px!important;line-height:1.3}
body.journey-smart-analysis:not(.journey-results-full) #journeySmartImpact .journey-effect-caption{font-size:14px!important;line-height:1.3;margin:10px 0 0}
body.journey-smart-analysis #journeySmartImpact .result-details-button{font:600 14px/1.4 var(--paytec-font-text,Arial,sans-serif)!important;padding:8px;min-height:40px}
}

body.journey-smart-analysis:not(.journey-results-full) #journeySmartImpact .journey-fte{display:none}
body dialog.result-details-dialog{width:min(860px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px)}
body dialog.result-details-dialog>header h2{font:600 22px/1.3 var(--paytec-font-text,Arial,sans-serif)!important;min-width:0;overflow-wrap:normal}
body dialog.result-details-dialog [data-result-close]{flex-shrink:0;white-space:nowrap}
@media(max-width:600px){body dialog.result-details-dialog>header{padding:12px;gap:8px;flex-wrap:wrap}body dialog.result-details-dialog>header h2{font-size:16px!important}}
