/* The connected calculator is a workspace: inputs on the left, outcome on the right. */
#journey-dialog{width:calc(100vw - 48px);max-width:1240px;max-height:94dvh;padding:22px 28px;border-radius:22px}
#journey-dialog .dialog-top{top:-22px;margin-bottom:8px;padding:8px 0 14px}
#journey-dialog #everyday-calculator.expanded{padding:0;background:none;border:0;box-shadow:none;backdrop-filter:none}
#journey-dialog #everyday-calculator.expanded::after{display:none}
#journey-dialog .everyday-top{display:none}
.journey-toolbar{padding:12px 0 20px;margin:0;border:0;display:flex;gap:16px;align-items:end;justify-content:space-between}
.journey-toolbar label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:16px;font-weight:500}
.journey-toolbar select{min-width:300px;max-width:440px;width:100%;min-height:46px;padding:10px 14px;font-size:16px}
.journey-toolbar button{font-size:16px;padding:12px;border-radius:9px;background:#ffffff07}
.specialist-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 0 23px}
.workspace-eyebrow{font-size:16px!important;letter-spacing:1.5px;color:var(--muted)!important;margin:0 0 8px}
#journey-title{font-size:32px;line-height:1.2;margin:0 0 9px;letter-spacing:-.5px}
#journey-description{margin:0;font-size:16px;line-height:1.6;max-width:700px}
#jump-to-result{display:none;color:var(--accent);font-size:16px;white-space:nowrap}
.specialist-grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:24px;align-items:start}
.journey-input-card,.journey-output-card{min-width:0;padding:24px;border-radius:17px;background:#ffffff06;box-shadow:0 5px 22px #0b14231c}
.journey-output-card{background:linear-gradient(145deg,var(--accent-soft),#ffffff04);position:sticky;top:60px}
.journey-output-card:has(.interactive-chart:not([hidden])){position:static}
.workspace-panel-heading{display:flex;align-items:center;gap:10px;margin:0 0 20px}
.workspace-panel-heading>span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:16px;font-weight:600}
.workspace-panel-heading h4{font-size:18px;font-weight:600;margin:0;color:var(--text)}
.workspace-panel-heading small{font-size:16px;color:var(--muted);margin-left:auto;text-align:right}
#journey-dialog #carry-banner{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 22px;padding:14px;background:#0d182327;border:0;box-shadow:none;border-radius:11px}
#journey-dialog #carry-banner[hidden]{display:none}
#carry-banner .carry-check{font-size:16px;background:var(--accent-soft);color:var(--accent);width:25px;height:25px}
#journey-dialog #carry-banner>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;flex:1;min-width:0}
#journey-dialog #carry-banner strong{font-size:21px;line-height:1.3;overflow-wrap:anywhere}
#journey-dialog #carry-banner>div>span{font-size:16px;color:var(--muted);line-height:1.4}
#carry-banner>div>span small{display:block;font-size:16px;margin-top:3px}
.carry-edited{display:block;flex-basis:100%;font-size:16px;color:var(--muted)}
#journey-dialog #carry-banner label{display:flex;align-items:center;gap:10px;margin:2px 0 0;width:100%;font-size:16px;font-weight:400}
#journey-dialog #carry-banner select{flex:1;min-width:0;max-width:100%;font-size:16px;min-height:38px;padding:8px;background:#ffffff0a;color:var(--text)}
#journey-dialog #carry-banner .precision-note{font-size:16px!important;flex-basis:100%}
#journey-form,#calculator-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
#journey-form label,#calculator-form label{display:flex;flex-direction:column;gap:8px;font-size:16px;line-height:1.5;color:var(--text);min-width:0;justify-content:flex-end}
#journey-form input,#journey-form select,#calculator-form input,#calculator-form select{width:100%;min-width:0;min-height:49px;font-size:17px;padding:12px 13px;border-radius:10px}
#journey-form label.wide,#calculator-form label.field-wide{grid-column:1/-1}
.input-group,.optional-inputs{grid-column:1/-1;min-width:0;border:0;margin:0;padding:0}
.input-group legend{font-size:16px;font-weight:600;color:var(--muted);margin:0 0 16px;padding:0}
.input-group-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
.input-group-grid>label.wide,.input-group-grid>label.field-wide{grid-column:1/-1}
.optional-inputs{padding:15px 0 0;border-top:1px solid #d5e3f015}
.optional-inputs summary{font-size:16px;color:var(--accent);cursor:pointer;min-height:28px}
.optional-inputs[open] .input-group-grid{margin-top:16px}
html[data-theme] #journey-result{padding:0;margin:0 0 20px;background:none;border:0;box-shadow:none}
#journey-result>span{font-size:16px;color:var(--muted)}
#journey-result>strong{font-size:clamp(28px,3.1vw,42px);line-height:1.25;margin:10px 0 20px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.result-breakdown{margin-top:20px;border-top:1px solid #d5e3f01c;padding-top:14px}
.result-breakdown summary{font-size:16px;color:var(--accent);cursor:pointer;min-height:30px;line-height:1.5}
.result-breakdown p:not(.journey-note){display:flex;gap:14px;justify-content:space-between;font-size:16px;border-bottom:1px solid #d5e3f017;padding:11px 0;margin:0;color:var(--muted)}
.result-breakdown b{color:var(--text)}
.result-breakdown .journey-note,.result-breakdown .result-note{font-size:16px;line-height:1.7;color:var(--muted)}
.result-placeholder{padding:24px 10px 30px;text-align:center;min-height:210px;display:flex;align-items:center;justify-content:center;flex-direction:column}
.result-placeholder>span{font-size:32px;color:var(--accent);background:var(--accent-soft);border-radius:14px;padding:2px 14px;margin-bottom:14px}
.result-placeholder h4{font-size:22px;margin:0 0 10px;color:var(--text)}
.result-placeholder p{font-size:16px;max-width:300px;margin:0;color:var(--muted);line-height:1.7}
#result-tools-mount .journey-expanded-footer{padding:18px 0 0;margin:0;border-top:1px solid #d5e3f01c;display:flex;flex-direction:column;gap:16px}
#result-tools-mount .journey-expanded-footer>label{display:flex;flex-direction:column;gap:8px;font-size:16px;color:var(--muted)}
#result-tools-mount .journey-expanded-footer select{width:100%;max-width:100%;font-size:16px;padding:12px;min-height:46px}
#result-tools-mount .journey-account-actions{display:flex;gap:10px}
#result-tools-mount .journey-account-actions button{flex:1;font-size:16px;padding:12px 9px;background:var(--accent-soft);border:0;border-radius:9px;color:var(--accent)}
#result-tools-mount .journey-account-actions button:first-child{background:var(--accent);color:var(--accent-ink)}
#result-tools-mount button:disabled{opacity:.4;cursor:not-allowed}
#result-tools-mount .journey-history{border:0;margin:0;padding:0}
#result-tools-mount .continue-calculation{margin:20px 0 0;padding:16px 0 0;border-top:1px solid #d5e3f01c}
#result-tools-mount .continue-calculation>div:first-child{display:block}
#result-tools-mount .continue-calculation small{display:block;font-size:16px;line-height:1.5;margin-top:4px;color:var(--muted)}
#result-tools-mount .journey-shortcuts{margin-top:12px}
#result-tools-mount .journey-shortcuts button{padding:10px;font-size:16px;background:#ffffff08;color:var(--text)}
#result-tools-mount #journey-steps{grid-template-columns:1fr}
#journey-tax-context .tax-context{padding:14px;margin:20px 0 0;background:#ffffff04;box-shadow:none}
#journey-tax-context .tax-context>strong{font-size:16px;color:var(--muted)}
#journey-tax-context .tax-context .tax-links{font-size:16px}
.stock-notice{margin-top:22px;padding:16px;background:#ffffff05;border-radius:10px;color:var(--muted);font-size:16px;line-height:1.65}
.stock-notice strong{color:var(--text);font-size:16px}.stock-notice p{font-size:16px;margin:7px 0 10px;line-height:1.65;color:var(--muted)}.stock-notice a{color:var(--accent);font-size:16px;text-decoration:underline;text-underline-offset:3px}
.series-2{color:#b9dfab;stroke:#b9dfab;fill:#b9dfab}.graph-line.series-2{stroke-dasharray:2 5}
.journey-output-card .interactive-chart,.results-panel .interactive-chart{padding:18px 12px;margin:14px 0 22px;background:#ffffff04;box-shadow:none}
.journey-output-card .graph-heading,.results-panel .graph-heading{display:block}
.journey-output-card .graph-heading h3,.results-panel .graph-heading h3{font-size:26px}
.journey-output-card .graph-live,.results-panel .graph-live{display:block;font-size:16px;margin-top:6px}
.journey-output-card .graph-kicker,.results-panel .graph-kicker{font-size:16px}
.journey-output-card .graph-readout,.results-panel .graph-readout{gap:12px;margin-top:16px}
.journey-output-card .graph-readout>span,.results-panel .graph-readout>span{width:100%;font-size:16px}
.journey-output-card .graph-readout strong,.results-panel .graph-readout strong{font-size:22px}
.journey-output-card .graph-readout div span,.results-panel .graph-readout div span{font-size:16px}
.journey-output-card .projection-svg text,.results-panel .projection-svg text{font-size:22px}
.journey-output-card .timeline-control>span,.results-panel .timeline-control>span{float:none;display:block;font-size:16px}
.journey-output-card .graph-scenario,.results-panel .graph-scenario{padding:12px}
.journey-output-card .graph-scenario label,.results-panel .graph-scenario label{font-size:16px}
.journey-output-card .graph-scenario output,.results-panel .graph-scenario output{float:none;display:block;margin-top:5px}
#journey-dialog #basic-panel{max-width:480px;margin:10px auto 24px}
#everyday-calculator[data-mode=basic]>.journey-expanded-footer{max-width:650px;margin:24px auto}
@media(max-width:900px){#journey-dialog{width:calc(100vw - 24px);padding:18px;max-height:96dvh}.specialist-grid{gap:16px;grid-template-columns:1fr 1fr}.journey-input-card,.journey-output-card{padding:18px}.input-group-grid,#journey-form{grid-template-columns:1fr}.workspace-panel-heading small{display:none}.journey-toolbar select{min-width:0}.journey-toolbar label{flex:1;min-width:0}#journey-title{font-size:29px}.journey-output-card .projection-svg text{font-size:28px}}
@media(max-width:720px){#journey-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:16px}#journey-dialog .dialog-top{top:-16px;padding:8px 0 12px}.journey-toolbar{gap:10px;padding:8px 0 18px;flex-wrap:nowrap}.journey-toolbar label{font-size:16px}.journey-toolbar select{max-width:100%;font-size:16px}.journey-toolbar button{font-size:16px;padding:10px 6px}.workspace-eyebrow{display:none}.specialist-heading{display:block;margin-bottom:20px}#journey-title{font-size:29px}#journey-description{font-size:16px}#jump-to-result{display:inline-block;margin-top:12px}.specialist-grid{grid-template-columns:1fr;gap:18px}.journey-input-card,.journey-output-card{padding:18px 16px}.journey-output-card{position:static}.workspace-panel-heading small{display:block;font-size:16px}#journey-form,#calculator-form,.input-group-grid{grid-template-columns:1fr;gap:16px}#journey-form label,#calculator-form label{font-size:16px}#journey-dialog #carry-banner select{font-size:16px}#journey-dialog #carry-banner label{flex-direction:column;align-items:start;gap:6px}#journey-dialog #carry-banner select{width:100%}#journey-result{scroll-margin-top:80px}#journey-result>strong{font-size:36px}.journey-output-card .projection-svg text,.results-panel .projection-svg text{font-size:30px}.stock-notice{font-size:16px}#result-tools-mount .journey-account-actions button{font-size:16px}#result-tools-mount .journey-shortcuts button{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
