/* Price and the next step fit together. Full stories and itemization have details. */
.value-field>small{display:block;font-size:12px;line-height:1.65;color:#adc4e5;margin-top:9px;max-width:54ch}
.value-example{font-size:14px;line-height:1.8;color:#d0e1f7;border-top:1px solid #9bb9ec35;border-bottom:1px solid #9bb9ec35;margin:25px 0;padding:22px 0}
.summary-content{padding:18px 22px 17px;margin-top:12px}
.summary-content .summary-top h2{font-size:21px}
.summary-content .summary-top button{min-height:32px;padding:4px 0;font-size:12px}
.summary-content .investment{margin-top:12px}
.summary-content .investment>span{font-size:12px;line-height:1.45}
.summary-content .investment>output{font-size:clamp(28px,2.6vw,38px);margin-top:7px;line-height:1.16}
.budget-running{display:grid;grid-template-columns:1fr 1fr;gap:18px;border-top:1px solid #20427125;margin-top:15px;padding-top:13px}
.budget-running .monthly,.budget-running .year{border:0;padding:0;margin:0;display:block;min-width:0}
.budget-running :is(.monthly,.year)>span{font-size:11px;line-height:1.5;color:#4c5f79;display:block}
.budget-running .year small{display:none}
.budget-running :is(.monthly,.year)>output{display:block;font-size:18px;line-height:1.4;margin-top:5px;white-space:normal;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.budget-running .monthly small{font-size:11px}
.summary-content .tax-note{margin:9px 0 0;font-size:11px;line-height:1.5}
#budget-breakdown{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;border-top:1px solid #20427125;border-bottom:1px solid #20427125;background:none;color:#0a1533;margin:13px 0 12px;padding:10px 0;min-height:42px;font:inherit;font-size:12px;text-align:left;cursor:pointer}
#budget-breakdown span{color:#4c5e7c;font-size:11px}
.summary-content #prepare{min-height:48px!important;padding:12px 16px;font-size:13px}
.summary-content #prepare>span{height:24px}
.summary-content .summary-footnote{font-size:11px;line-height:1.55;max-width:none;margin:9px 0 0}
.summary-content .budget-warning{margin:11px 0;font-size:12px;line-height:1.5;color:#4a365d}
html.budget-detail-open{overflow:hidden;scrollbar-gutter:stable}
#budget-detail{width:min(680px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #7691b9;border-radius:14px;background:#f2f5fc;color:#0a1533;overflow:auto;overscroll-behavior:contain;box-shadow:0 30px 100px #0008}
#budget-detail::backdrop{background:#020918d9}
#budget-detail>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 26px;background:#0b203b;color:#f2f5fc;position:sticky;top:0;z-index:1}
#budget-detail header span{font-size:11px;letter-spacing:.12em;color:#b2cbee}
#budget-detail h2{font-size:25px;font-weight:400;letter-spacing:-.02em;margin:8px 0 0}
.budget-close{font:inherit;font-size:12px;min-height:44px;border:1px solid #8caddc66;background:#132a49;color:#fff;border-radius:6px;padding:9px 14px;cursor:pointer;flex:none}
.budget-detail-body{padding:12px 26px 24px}
#budget-detail .breakdown{margin:0;border:0;padding:0}
#budget-detail .breakdown>summary{display:none}
#budget-detail .line-heading{font-size:12px;color:#36547b;padding-top:18px;margin-bottom:9px}
#budget-detail .line-item{padding:12px 0;border-bottom:1px solid #2042711c;font-size:13px}
#budget-detail .line-item strong{font-size:12px}
#budget-detail .estimate-note{margin:16px 0 0;line-height:1.7}
:is(#budget-breakdown,.budget-close):focus-visible{outline:2px solid #3668df;outline-offset:3px}
@media(min-width:761px){
 #summary{position:sticky;top:16px;align-self:start}
 #summary[data-quote-fits=false]{position:relative;top:auto}
 #summary>.live-studio{height:var(--quote-scene-height,260px);display:flex;flex-direction:column;margin:0;box-shadow:none}
 #summary .scene-tabs{min-height:40px;padding:5px 10px;flex:none}
 #summary .scene-tabs button{min-height:30px;padding:4px 10px}
 #summary .composition{height:auto!important;min-height:0;flex:1}
 #summary #composition-view{height:calc(100% - 28px)!important;min-height:0}
 #summary .composition-caption{height:28px;font-size:11px;left:15px;right:15px}
 #summary #replay-assembly{font-size:0;min-width:32px;min-height:32px;padding:6px;right:12px;top:8px}
 #summary #replay-assembly span{font-size:15px}
 #summary .live-context{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:64px;padding:10px 15px;flex:none}
 #summary .live-context>strong{font-size:15px;line-height:1.35;margin:0;min-width:0;flex:1}
 #summary .live-context>:is(span,small,.story-choices,.story-steps){display:none}
 #summary .story-controls{border:0;padding:0;margin:0;gap:14px;flex:none}
 #summary .story-controls button{min-height:36px;font-size:11px}
 #summary .story-play{display:none}
 #summary[data-preview-compact=true] .live-context{min-height:48px;padding:6px 12px;gap:8px}
 #summary[data-preview-compact=true] .live-context>strong{font-size:13px}
 #summary[data-preview-compact=true] .story-controls{gap:6px}
}
@media(min-width:761px) and (max-width:1100px){
 .summary-content{padding:16px 18px}
 .budget-running{grid-template-columns:1fr;gap:8px;margin-top:12px;padding-top:10px}
 .budget-running :is(.monthly,.year){display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:12px}
 .budget-running :is(.monthly,.year)>output{font-size:16px;text-align:right;margin-top:0}
 .budget-running :is(.monthly,.year)>span{max-width:120px}
 #summary .live-context>strong{font-size:14px}
 #summary .story-controls button{font-size:11px}
}
@media(max-width:760px){
 .summary-content{padding:23px 20px;margin-top:0}
 .summary-content .investment>output{font-size:32px}
 .budget-running{grid-template-columns:1fr;gap:11px}
 .budget-running :is(.monthly,.year){display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;gap:14px}
 .budget-running :is(.monthly,.year)>output{font-size:18px;margin:0;text-align:right}
 .budget-running :is(.monthly,.year)>span{max-width:120px}
 #budget-detail>header{padding:17px 18px;gap:12px}#budget-detail h2{font-size:22px}.budget-detail-body{padding:8px 18px 20px}
 #budget-detail .line-item{grid-template-columns:minmax(0,1fr);gap:4px}#budget-detail .line-item strong{font-size:13px}
}
@media print{#budget-detail{display:none!important}}
