html.slide-layout-root,body.slide-layout{overscroll-behavior-y:contain}
/* Interactive slides: one question remains mounted, with its answers saved by ID. */
body.slide-layout{background:#f4f2ec;color:#19251d;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
.slide-layout .top{height:64px;max-width:1080px;padding:0 24px;gap:16px;border-color:#deded5}
.slide-layout .brand{font-size:18px}
.slide-layout .brand .mark{width:28px;height:28px;font-size:22px}
.slide-layout .original-web-link{font-size:13px;font-weight:700;white-space:nowrap}
.slide-layout main{max-width:1000px;padding:0 24px 30px}
.slide-layout .simple-top{position:relative;padding:12px 0 8px;margin-bottom:8px;background:transparent}
.slide-layout .language-row{margin:0;position:absolute;right:0;top:8px}
.slide-layout .simple-progress-label{padding-right:160px;min-height:36px;display:flex;align-items:center;font-size:14px}
.slide-layout .simple-top>select{min-height:44px;padding:8px 12px;font-size:16px;margin:10px 0 6px;background:#fff;border-color:#cbd2c9;border-radius:10px}
.slide-layout .simple-top .save-note{display:inline;font-size:13px;line-height:1.6;color:#536058}
.slide-layout .simple-top>.text-button{margin-left:12px;font-size:13px;color:#536058;min-height:32px}
.slide-layout .simple-top .recalculate{margin:8px auto;width:160px}
.slide-layout .simple-question{max-width:860px;min-height:clamp(420px,calc(100svh - 300px),660px);margin:8px auto 0;padding:32px 36px 24px;border:1px solid #daddd4;border-radius:22px;box-shadow:0 12px 40px #252a250b;display:flex;flex-direction:column;scroll-margin-top:12px}
.slide-layout .simple-question>.slide-content{flex:1;display:flex;flex-direction:column;justify-content:center}
.slide-layout .simple-question h1{font-size:clamp(25px,3.5vw,32px);line-height:1.45;scroll-margin-top:14px}
.slide-layout .simple-question .question-hint{font-size:17px;line-height:1.75;margin:4px 0 16px;color:#536058}
.slide-layout .simple-question label{margin:14px 0;font-size:18px}
.slide-layout .simple-question label select,.slide-layout .simple-question label input{font-size:19px;min-height:48px;background:#edf5ee;border-color:#98ae9d;color:#19251d;border-radius:10px}
.slide-layout .simple-question .question-choices{margin:12px 0}
.slide-layout .simple-question .question-choices .choice{min-height:52px;font-size:18px}
.slide-layout .simple-actions{grid-template-columns:80px minmax(0,1fr) 80px;margin-top:0;padding-top:24px;flex-shrink:0;gap:10px}
.slide-layout .simple-actions>button:first-child,.slide-layout .simple-actions>button:last-child{width:80px;min-height:44px;padding:10px 8px}
.slide-layout .simple-actions>.text-button{font-size:15px;line-height:1.5;color:#536058}
.slide-layout .simple-question select:focus-visible,.slide-layout .simple-question input:focus-visible,.slide-layout button:focus-visible,.slide-layout .simple-top select:focus-visible{outline:3px solid #8ca995;outline-offset:3px}
.slide-layout .slide-help{text-align:center;font-size:12px;line-height:1.5;color:#536058;margin:14px 0 0}
.slide-layout .simple-result{max-width:960px}
.slide-layout .save-feedback{font-size:13px}
@media(max-width:600px){
 .slide-layout .top{height:auto;min-height:56px;padding:10px 14px;flex-wrap:wrap;gap:6px 12px}
 .slide-layout .brand{font-size:16px;flex:1}
 .slide-layout .top .badge{font-size:11px;letter-spacing:0}
 .slide-layout main{padding:0 12px 24px}
 .slide-layout .simple-top .save-note{display:block;margin-top:4px}
 .slide-layout .simple-top>.text-button{margin-left:0}
 .slide-layout .simple-question{padding:22px 18px 20px;min-height:clamp(360px,calc(100svh - 320px),620px);border-radius:18px}
 .slide-layout .question-heading{gap:8px}
 .slide-layout .simple-question h1{font-size:26px}
 .slide-layout .simple-question .save-draft{padding:7px 9px;min-height:40px;font-size:14px}
 .slide-layout .simple-question .question-hint{font-size:16px}
 .slide-layout .simple-question label{font-size:18px}
 .slide-layout .slide-help{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.slide-layout *{scroll-behavior:auto!important}}
@media print{.slide-help,.original-web-link{display:none!important}}

/* Plain white navigation; keep the final Calculate action green. */
.slide-layout .simple-actions>.secondary,.slide-layout .simple-actions>.primary:not(.calculate-answer){background:#fff;border-color:#c7cec8;color:#101b14;transition:background-color .12s ease,color .12s ease,border-color .12s ease}
@media(hover:hover) and (pointer:fine){
 .slide-layout .simple-actions>.secondary:hover:not(:disabled),.slide-layout .simple-actions>.primary:not(.calculate-answer):hover:not(:disabled){background:#124c3a;border-color:#124c3a;color:#fff}
}
.slide-layout .simple-actions>.secondary:focus-visible,.slide-layout .simple-actions>.primary:not(.calculate-answer):focus-visible,.slide-layout .simple-actions>.secondary:active,.slide-layout .simple-actions>.primary:not(.calculate-answer):active{background:#124c3a;border-color:#124c3a;color:#fff}
.slide-layout .question-category{display:block;margin-bottom:10px;line-height:1.35}
.slide-layout .question-heading{margin-bottom:10px}
/* A larger results canvas uses the same fixed winner/other palette. */
body.slide-layout.showing-result{background:#f4f2ec}
.slide-layout.showing-result main{max-width:1333px}
.slide-layout.showing-result .simple-result{max-width:1280px}
.slide-layout .simple-result>h2{font-size:30px;text-align:center;line-height:1.45}
.slide-layout .simple-result .least-cost{padding:30px 24px;background:#eeebe3}
.slide-layout .simple-result .least-cost p{font-size:16px}
.slide-layout .simple-result .least-cost h2{font-size:30px}
.slide-layout .simple-result .simple-four-charts{gap:18px;margin:26px 0}
.slide-layout .simple-result .mini-amount{padding-bottom:26px}
.slide-layout .simple-result .mini-amount h3{font-size:22px;min-height:60px;padding:14px 12px}
.slide-layout .simple-result .mini-amount strong{font-size:36px;margin:22px 16px 5px}
.slide-layout .simple-result .mini-amount>span{font-size:15px;margin:0 16px}
.slide-layout .combined-chart-panel{padding:32px 24px 16px;border-color:#e0ddd5}
.slide-layout .combined-chart-panel>h3{font-size:28px}
.slide-layout .chart-caption{font-size:16px}
@media(max-width:700px){
 .slide-layout .simple-result .simple-four-charts{gap:12px}
 .slide-layout .simple-result .mini-amount h3{font-size:20px;padding:12px 8px}
 .slide-layout .simple-result .mini-amount strong{font-size:30px;margin-left:12px;margin-right:12px}
 .slide-layout .simple-result .mini-amount>span{font-size:13px;margin-left:12px;margin-right:12px}
 .slide-layout .combined-chart-panel{padding:24px 10px 12px}
 .slide-layout .combined-chart-panel>h3{font-size:24px}
 .slide-layout .simple-result .least-cost h2{font-size:28px}
}

.slide-layout .pending-result{font-size:15px;line-height:1.7;padding:12px 16px;border:1px solid #d7b9b8;background:#f7efed;color:#694347;border-radius:10px;margin:16px 0}

.slide-layout .combined-chart-panel>h3{text-align:center}

.slide-layout .simple-result .least-cost{padding:52px 24px}

.slide-layout .simple-result .mini-amount strong{font-size:28px}
@media(max-width:700px){.slide-layout .simple-result .mini-amount strong{font-size:24px}}

.slide-layout .simple-result .least-cost{background:var(--chart-other)}

/* Shared reading rhythm; fixed result colours remain in chart-palette.css. */
.slide-layout .question-choices .choice{border-radius:12px;padding:14px 18px;line-height:1.6;background:#edf5ee}
.slide-layout .question-choices .choice[aria-pressed=true]{background:#124c3a;color:#fff}
@media(hover:hover) and (pointer:fine){.slide-layout .question-choices .choice:hover:not(:disabled){background:#124c3a;color:#fff}}
.slide-layout .language-label{color:#536058}
.slide-layout .simple-top .language-label select{min-height:40px;font-size:15px;border-color:#cbd2c9;background:#fff}
.slide-layout .simple-question .question-error{font-size:16px;line-height:1.65}
.slide-layout .simple-question .save-feedback{font-size:14px}
@media(min-width:701px) and (max-width:960px){.slide-layout .simple-result .simple-four-charts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .slide-layout .simple-progress-label{padding-right:148px;font-size:13px}
 .slide-layout .simple-top .save-note{margin-top:2px}
 .slide-layout .simple-question .question-choices .choice{font-size:18px;padding:12px 14px}
 .slide-layout .simple-result>h2{font-size:28px}
}
/* Programmatic slide focus should not frame the entire question. */
.slide-layout .simple-question h1:focus{outline:none}
@media(max-width:600px){
 .slide-layout .top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
 .slide-layout .top .brand{grid-column:1;grid-row:1;min-width:0}
 .slide-layout .top .original-web-link{grid-column:2;grid-row:1}
 .slide-layout .top .badge{grid-column:1 / -1;grid-row:2;justify-self:start}
 .slide-layout .question-heading{display:block;position:relative}
 .slide-layout .question-heading h1{margin-top:0}
 .slide-layout .question-heading .question-category{padding-right:88px;min-height:40px}
 .slide-layout .simple-question .save-draft{position:absolute;right:0;top:0}
}

/* First-slide English prompt: three pixels larger than other hints. */
.slide-layout .simple-question .question-hint.language-hint{font-size:20px}
@media(max-width:600px){.slide-layout .simple-question .question-hint.language-hint{font-size:19px}}

/* Eligibility belongs above the first question, not in another slide. */
.slide-layout .simple-question .audience-note{margin:0 0 24px;padding:0;border:0;border-radius:0;background:transparent;color:#253e30;font-size:16px;font-weight:400;font-style:italic;line-height:1.65;text-align:left}
.slide-layout .simple-question .audience-note[hidden]{display:none}

/* Keep local saving, omit its persistent explanatory line. */
.slide-layout .simple-top .save-note{display:none}
.slide-layout .simple-top>.text-button{margin-left:0}

.slide-layout .simple-question .audience-note::before{content:"* "}

/* Matching utility buttons; hover uses the same green as Next. */
.slide-layout .simple-top .recalculate,.slide-layout .simple-top .reset-answers{display:block;width:min(100%,160px);height:46px;min-height:46px;margin:8px auto;padding:10px 6px;font-size:16px;line-height:1.5;font-weight:800;white-space:nowrap;text-align:center;background:#d9ddd9;border:1px solid #b5bdb6;border-radius:8px;color:#101b14;transition:background-color .12s ease,color .12s ease,border-color .12s ease}
@media(hover:hover) and (pointer:fine){.slide-layout .simple-top .recalculate:hover:not(:disabled),.slide-layout .simple-top .reset-answers:hover:not(:disabled){background:#124c3a;border-color:#124c3a;color:#fff}}
.slide-layout .simple-top .recalculate:focus-visible,.slide-layout .simple-top .reset-answers:focus-visible,.slide-layout .simple-top .recalculate:active:not(:disabled),.slide-layout .simple-top .reset-answers:active:not(:disabled){background:#124c3a;border-color:#124c3a;color:#fff}

.slide-layout .question-hint,.slide-layout .slide-help,.slide-layout .save-feedback,.slide-layout .pending-result{font-style:italic}

/* Preserve initial hidden states despite shared button display rules. */
.slide-layout .simple-top .recalculate[hidden]{display:none}
.slide-layout .simple-question .skip-defaults{display:block;width:min(100%,220px);min-height:44px;margin:14px auto 0;padding:10px 14px;font-size:16px;font-weight:700;line-height:1.5;border:1px solid #b5bdb6;border-radius:8px;background:#d9ddd9;color:#101b14;text-align:center}
.slide-layout .simple-question .skip-defaults[hidden]{display:none}

.slide-layout .simple-question .question-error:empty{display:none}
.slide-layout .question-fields>label:last-child{margin-bottom:0}
.slide-layout .question-fields>label:last-child>select,.slide-layout .question-fields>label:last-child>input{margin-bottom:0}

.slide-layout .question-hint .hint-star{color:#b3261e;font-weight:700;font-style:normal}
/* Keep all three utility actions centred, with the same hover green. */
.slide-layout .simple-top .recalculate,.slide-layout .simple-top .reset-answers,.slide-layout .simple-question .skip-defaults{margin-inline:auto;text-align:center;align-self:center;justify-self:center}
@media(hover:hover) and (pointer:fine){.slide-layout .simple-question .skip-defaults:hover:not(:disabled){background:#124c3a;border-color:#124c3a;color:#fff}}
.slide-layout .simple-question .skip-defaults:focus-visible,.slide-layout .simple-question .skip-defaults:active:not(:disabled){background:#124c3a;border-color:#124c3a;color:#fff}

.slide-layout .simple-question .income-total{margin:12px 0 0;color:#19251d;background:transparent;font-size:18px;font-weight:700;line-height:1.6}

/* A fixed suffix inside each custom-entry field, separate from its numeric value. */
.slide-layout .simple-question .custom-input-wrap{display:flex;align-items:stretch;width:100%;margin:7px 0;border:1px solid #98ae9d;border-radius:10px;background:#edf5ee}
.slide-layout .simple-question .custom-input-wrap[hidden]{display:none}
.slide-layout .simple-question .custom-input-wrap>input{flex:1 1 0;width:0;min-width:0;min-height:46px;margin:0;padding:10px 12px;border:0;border-radius:10px;background:transparent;box-shadow:none}
.slide-layout .simple-question .custom-input-unit{display:flex;align-items:center;flex:0 0 auto;padding:0 12px 0 8px;font-size:16px;font-weight:500;line-height:1.5;color:#536058;white-space:nowrap;pointer-events:none}
.slide-layout .simple-question .custom-input-wrap:focus-within{outline:3px solid #8ca995;outline-offset:3px}
.slide-layout .simple-question .custom-input-wrap>input:focus-visible{outline:0}
.slide-layout .question-fields>label:last-child>.custom-input-wrap{margin-bottom:0}

/* Reset action and fixed right-edge units in custom number fields. */
.slide-layout .simple-top .reset-answers{display:block;width:fit-content;max-width:100%;box-sizing:border-box;height:46px;min-height:46px;padding:10px 16px;white-space:nowrap}
.slide-layout .simple-question .custom-input-unit{margin-left:auto;justify-content:flex-end;text-align:right}

.slide-layout .simple-result .mini-amount h3{flex-direction:column;gap:2px;min-height:92px;box-sizing:border-box}
.slide-layout .simple-result .recommend-label{display:block}

/* Keep the save action on the category row so question text has the full card width. */
.slide-layout .question-heading{display:block;position:relative}
.slide-layout .question-heading h1{margin-top:0}
.slide-layout .question-heading .question-category{padding-right:88px;min-height:40px}
.slide-layout .simple-question .save-draft{position:absolute;right:0;top:0}
.slide-layout .question-unit-tail{white-space:nowrap}

/* Give every explanatory note the same red asterisk. Question hints use a DOM prefix. */
.slide-layout .simple-question .audience-note::before,
.slide-layout .slide-help:not(:empty)::before,
.slide-layout .save-feedback:not(:empty)::before,
.slide-layout .pending-result:not(:empty)::before{content:"* ";color:#b3261e;font-weight:700;font-style:normal}

/* Direct amount and custom-rate entry have no small-step spinner controls. */
.slide-layout .simple-question .direct-number-input{appearance:textfield;-moz-appearance:textfield}
.slide-layout .simple-question .direct-number-input::-webkit-inner-spin-button,
.slide-layout .simple-question .direct-number-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}

.slide-layout .calculation-error{padding:16px;border:1px solid #c98278;border-radius:10px;background:#faeeeb;color:#832c22;font-size:18px;line-height:1.7;scroll-margin:20px}
/* Compact only when actual content exceeds the viewport; keep text sizes. */
.slide-layout.compact-height .simple-top{padding-block:8px;margin-bottom:4px}
.slide-layout.compact-height .simple-top>select{margin-block:6px 4px}
.slide-layout.compact-height .simple-top .recalculate,.slide-layout.compact-height .simple-top .reset-answers{margin-block:4px}
.slide-layout.compact-height .simple-question{min-height:clamp(378px,calc(90svh - 270px),594px);padding-top:28.8px;padding-bottom:21.6px}
.slide-layout.compact-height .simple-question label{margin-block:12.6px}
.slide-layout.compact-height .simple-actions{padding-top:21.6px}
.slide-layout.compact-height .simple-result .least-cost{padding-block:27px}
.slide-layout.compact-height .simple-result .simple-four-charts{margin-block:23.4px;gap:16.2px}
.slide-layout.compact-height .combined-chart-panel{padding-top:28.8px;padding-bottom:14.4px}
@media(min-width:701px){.slide-layout.compact-height .simple-result .simple-four-charts{grid-template-columns:repeat(4,minmax(0,1fr))}}

.slide-layout .simple-result .least-cost .property-assumptions{font-size:15px;font-style:italic;margin:10px 0 0}
.slide-layout .property-assumptions::before{content:"* ";color:#b3261e;font-style:normal;font-weight:700}

.slide-layout .input-review{margin:16px 0;border:1px solid #cbd2c9;border-radius:10px;padding:10px 14px;background:#fff}
.slide-layout .input-review>summary{cursor:pointer;min-height:30px;font-size:16px;font-weight:700;color:#19251d}
.slide-layout .input-review h3{margin:18px 0 8px;font-size:18px}
.slide-layout .review-values{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:8px 16px;margin:0;font-size:16px}
.slide-layout .review-values dt,.slide-layout .review-values dd{margin:0;padding:5px 0;border-bottom:1px solid #e6e9e3}
.slide-layout .review-values dd{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.slide-layout .review-note,.slide-layout .calculation-basis-note{font-size:15px;line-height:1.6;font-style:italic;color:#536058}

/* Confirmed phone review: one interface, audience under title, full-width list divider. */
.slide-layout .top{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;height:auto;min-height:64px;gap:5px;padding-top:12px;padding-bottom:12px}
.slide-layout .top .header-audience{margin:0;font-size:14px;font-weight:400;line-height:1.55;color:#536058}
.slide-layout .province-picker{position:relative;margin:14px 0;font-size:18px;font-weight:700}
.slide-layout .province-picker-label{display:block}
.slide-layout .province-trigger{position:relative;display:block;width:100%;margin:7px 0 0;min-height:48px;padding:12px 40px 12px 14px;text-align:left;font-size:19px;font-weight:600;line-height:1.5;background:#edf5ee;border:1px solid #98ae9d;border-radius:10px;color:#19251d}
.slide-layout .province-trigger::after{content:'';position:absolute;right:17px;top:18px;width:8px;height:8px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.slide-layout .province-menu{position:absolute;left:0;right:0;top:100%;z-index:90;max-height:440px;overflow-y:auto;overscroll-behavior:contain;padding:6px 0;background:#fff;border:1px solid #98ae9d;border-radius:10px;box-shadow:0 10px 30px #19251d26}
.slide-layout .province-menu[hidden]{display:none}
.slide-layout .province-option{display:block;width:100%;min-height:44px;padding:11px 14px;border:0;border-radius:0;text-align:left;font-size:16px;font-weight:500;background:#fff;color:#19251d}
.slide-layout .province-option[aria-selected=true]{background:#edf5ee;font-weight:800}
.slide-layout .province-option:hover,.slide-layout .province-option:focus-visible{background:#e0ece2;outline:2px solid #8ca995;outline-offset:-2px}
.slide-layout .province-divider{display:block;width:100%;height:0;margin:6px 0;border-top:2px dashed #65786a}
.slide-layout .least-cost .result-comparison-note{margin:12px 0 0;font-size:16px;font-weight:400;line-height:1.6;color:#34443a;text-align:left}
.slide-layout .result-note-star{color:#b42318;font-weight:800;margin-right:4px}
@media(max-width:600px){
 .slide-layout .province-menu{position:fixed;left:12px;right:12px;top:auto;bottom:max(12px,env(safe-area-inset-bottom));max-height:70svh}
 .slide-layout .least-cost .result-comparison-note{font-size:14px}
}
.slide-layout .review-note::before,.slide-layout .calculation-basis-note::before{content:"* ";color:#b3261e;font-weight:700;font-style:normal}
.slide-layout .cost-breakdown{margin-top:16px;padding-top:8px;border-top:1px solid #daddd4}
