/* Layout-only UI. Never styles inside the exported customer poster. */
.workflow-layout{--workflow-line:#eadfe3;--workflow-muted:#8a747e;--workflow-accent:#ad2f4e}
.workflow-layout .workflow-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
.workflow-layout .workflow-heading h2{margin:0;font-size:16px;line-height:1.4;text-align:left;color:#42323a;font-weight:650;letter-spacing:0}
.workflow-layout .workflow-files{border:1px solid var(--workflow-line);border-radius:12px;padding:14px 16px;margin-bottom:14px;background:#fff}
.workflow-layout .workflow-file-actions{display:flex;align-items:center;gap:8px}
/* Keep replacement visible after the action moves into the current-plan header. */
.workflow-layout .workflow-file-actions :is(#btnReset,#rtChange):not([hidden]){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:142px;padding:10px 16px;border:1px solid #9b2341!important;border-radius:9px!important;background:#ad2f4e!important;color:#fff!important;font-size:14px;font-weight:700!important;line-height:1.4;white-space:nowrap;text-decoration:none;box-shadow:0 2px 5px #8f16301a!important;cursor:pointer}
.workflow-layout .workflow-file-actions :is(#btnReset,#rtChange)::before{content:"↻";font-size:19px;font-weight:500;line-height:1}
.workflow-layout .workflow-file-actions :is(#btnReset,#rtChange):not(:disabled):hover{background:#922440!important;border-color:#852039!important;color:#fff!important;text-decoration:none;box-shadow:0 3px 7px #8f163026!important}
.workflow-layout .workflow-file-actions :is(#btnReset,#rtChange):not(:disabled):active{background:#7f1e36!important;box-shadow:none!important}
.workflow-layout .workflow-file-actions :is(#btnReset,#rtChange):focus-visible{outline:3px solid #e4a2b4;outline-offset:3px}
.workflow-layout .workflow-file-actions :is(#btnReset,#rtChange):disabled{background:#b59ca4!important;border-color:#aa929a!important;color:#fff!important;box-shadow:none!important;cursor:not-allowed}
.workflow-layout .workflow-files .product-badge{margin:5px 0 0}
.workflow-layout .workflow-files .savings-upload-slots{margin:0;gap:10px}
.workflow-layout .workflow-files .savings-upload-message:empty{display:none}
.workflow-layout .workflow-adjust{padding:14px 16px;margin:0 0 16px;border-radius:12px}
.workflow-layout .workflow-adjust .settings-header{margin:0 0 10px;padding:0}
.workflow-layout .workflow-adjust .settings-header h2{font-size:16px;margin:0;text-align:left}
.workflow-layout .workflow-adjust #savingsSettingsPanel{border:0;background:none;padding:0;margin:0}
.workflow-layout .workflow-adjust .savings-settings-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px;align-items:start}
.workflow-layout .workflow-adjust #savingsDisplayDock,.workflow-layout .workflow-adjust #displayControlsHome:not([hidden]),.workflow-layout .workflow-adjust #displayControls:not([hidden]){display:contents}
.workflow-layout .workflow-adjust .pd-options{display:contents}
.workflow-layout .workflow-adjust .pd-option{display:block;margin:0;min-width:0}
.workflow-layout .workflow-adjust .pd-option-label,.workflow-layout .workflow-adjust .savings-rate-mode-label,.workflow-layout .workflow-adjust .savings-range-mode-label{display:block;font-size:12px;line-height:1.4;font-weight:550;margin:0 0 6px;color:#816671}
.workflow-layout .workflow-adjust .savings-rate-mode-control,.workflow-layout .workflow-adjust .savings-range-mode-control{margin:0;min-width:0}
.workflow-layout .workflow-adjust .pd-choice-switch,.workflow-layout .workflow-adjust .savings-rate-mode-options,.workflow-layout .workflow-adjust .savings-range-mode-options{min-height:36px;margin:0}
.workflow-layout .workflow-adjust .pd-choice-switch button,.workflow-layout .workflow-adjust .savings-rate-mode-options button,.workflow-layout .workflow-adjust .savings-range-mode-options button{min-height:36px;padding:7px 9px;font-size:12px;line-height:1.4}
.workflow-layout .workflow-adjust .pd-exchange{grid-column:1/-1;margin:0;padding:0}
.workflow-layout .workflow-adjust #displayNote{grid-column:1/-1;font-size:11px;margin:0;line-height:1.5}
.workflow-layout .workflow-adjust .display-years-panel{margin:12px 0 0;padding:10px 0 0;border-top:1px solid var(--workflow-line)}
.workflow-layout .workflow-adjust .display-years-header{gap:8px;margin-bottom:8px;align-items:center}
.workflow-layout .workflow-adjust .display-years-title{font-size:13px;margin:0}
.workflow-layout .workflow-adjust .display-years-basis{font-size:11px;gap:6px}
.workflow-layout .workflow-adjust .display-years-group{padding:10px;margin:0;border-radius:8px}
.workflow-layout .workflow-adjust .display-years-group h3{font-size:12px;margin:0 0 8px}
.workflow-layout .workflow-adjust .display-years-add{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:7px;margin:0 0 8px;align-items:center}
.workflow-layout .workflow-adjust .display-years-add label{display:flex;gap:6px;align-items:center;min-width:0;font-size:11px;margin:0;white-space:nowrap}
.workflow-layout .workflow-adjust .display-years-add select{flex:1;min-width:0;width:0}
.workflow-layout .workflow-adjust .display-years-add select,.workflow-layout .workflow-adjust .display-years-basis select,.workflow-layout .workflow-adjust .display-years-add button{min-height:32px;height:auto;font-size:12px;padding:5px 8px}
.workflow-layout .workflow-adjust .display-years-chips{gap:6px}
.workflow-layout .workflow-adjust .display-years-chips button{min-height:28px;font-size:12px;line-height:1.35;padding:4px 8px}
.workflow-layout .workflow-adjust .display-years-note,.workflow-layout .workflow-adjust .savings-rate-mode-note,.workflow-layout .workflow-adjust .savings-range-mode-note{font-size:11px;line-height:1.5;margin:6px 0}
.workflow-layout .workflow-adjust .trst-offer-control{margin:8px 0 0;padding:8px 0 0;gap:8px}
.workflow-layout .workflow-adjust .trst-offer-label{font-size:12px}
.workflow-layout .workflow-adjust .trst-offer-options button{min-height:32px;font-size:12px;padding:5px 9px}
.workflow-layout .workflow-output{padding:0 0 14px;border-bottom:1px solid var(--workflow-line);margin:0 0 16px}
.workflow-layout .workflow-output .workflow-heading{margin-bottom:9px}
.workflow-layout .workflow-primary-actions,.workflow-layout .workflow-primary-actions .workspace-actions,.workflow-layout .workflow-general-downloads{display:flex;flex-wrap:wrap;align-items:center;gap:10px;width:100%;padding:0;margin:0;border:0;background:none;box-shadow:none}
.workflow-layout .workflow-output button{min-height:44px;padding:10px 18px;font-size:14px}
.workflow-layout .workflow-output #btnDownloadImage,.workflow-layout .workflow-output #btnDownloadGeneralImage,.workflow-layout .workflow-output #btnDownloadMlpImage{background:#b02d4e;color:#fff;border:1px solid #b02d4e;border-radius:8px}
.workflow-layout .workflow-output [data-seasonal-open]{min-width:120px;background:#fff7fa;color:#a12b48;border:1px solid #dba8b7;border-radius:8px;font-weight:600}
.workflow-layout .workflow-output .trst-toolbar{display:block}
.workflow-layout .workflow-primary-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;width:100%}
.workflow-layout .workflow-compatibility-row{margin-top:6px}
.workflow-layout .workflow-output .workflow-compatibility-row button{min-height:30px;padding:4px 8px;font-size:11px;background:none;color:#876975;border:1px solid #eadce1;border-radius:6px}
.workflow-layout .workflow-output #posterPreviewToolbar{background:none;padding:0;border:0;border-radius:0;box-shadow:none;margin:0}
.workflow-layout .workflow-general-downloads .medical-download-row{display:flex;align-items:center;gap:8px;margin:0;flex:none}
.workflow-layout .workflow-language-note{font-size:12px;color:#816671;line-height:1.6;margin:0}
.workflow-layout .workflow-reading-grid{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:18px}
.workflow-layout .workflow-sidebar{display:flex;flex-direction:column;gap:14px;min-width:0}
.workflow-layout .workflow-sidebar .result-summary-column{width:100%;min-width:0}
.workflow-layout .workflow-text-tools{padding:12px;border:1px solid var(--workflow-line);background:#fff;border-radius:10px;min-width:0}
.workflow-layout .workflow-text-tools .workflow-heading{margin-bottom:8px}
.workflow-layout .workflow-text-tools .workflow-heading h2{font-size:14px}
.workflow-layout .workflow-edit-actions{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 8px}
.workflow-layout .workflow-edit-actions button{flex:1 1 auto;min-height:34px;font-size:12px;padding:6px 8px;line-height:1.35;border:1px solid #e2d3d9;border-radius:7px;background:#fff;color:#795865;white-space:nowrap}
.workflow-layout .workflow-copy-host .copy-preset-controls{border:0;background:none;border-radius:0;padding:0;margin:0;box-shadow:none}
.workflow-layout .workflow-copy-host .copy-preset-head{display:block;margin:0 0 6px}
.workflow-layout .workflow-copy-host .copy-preset-head strong{font-size:12px;line-height:1.4}
.workflow-layout .workflow-copy-host .copy-preset-saved{display:block;font-size:11px;margin:3px 0 0;line-height:1.4}
.workflow-layout .workflow-copy-host .copy-preset-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.workflow-layout .workflow-copy-host .copy-preset-buttons button{min-width:0;width:100%;min-height:32px;font-size:11px;line-height:1.35;padding:5px 3px;white-space:nowrap}
.workflow-layout .workflow-copy-host .copy-preset-auto{font-size:11px;line-height:1.5;margin-top:8px}
.workflow-layout .workflow-copy-host .copy-preset-note,.workflow-layout .workflow-copy-host .copy-preset-status{font-size:11px;line-height:1.5;margin:5px 0 0}
.workflow-layout .workflow-preview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 0 10px;margin:0}
.workflow-layout .workflow-preview-heading .workflow-heading{margin:0}
.workflow-layout .workflow-preview-heading .workflow-heading h2{font-size:14px}
.workflow-layout .workflow-preview-heading .savings-zoom-toolbar{padding:0;margin:0;border:0;background:none;flex:0 1 auto}
.workflow-layout .workflow-preview-heading .savings-zoom-label{display:none}
.workflow-layout .workflow-preview-heading .poster-zoom-controls{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.workflow-layout .workflow-preview-heading button{min-height:30px;padding:5px 7px;font-size:11px;line-height:1.4}
.workflow-layout .workflow-preview-heading output,.workflow-layout .workflow-preview-heading #posterZoomValue{font-size:11px}
.workflow-layout .workflow-vacated:empty{display:none}
.workflow-layout .workflow-files [hidden],.workflow-layout .workflow-adjust [hidden],.workflow-layout .workflow-output[hidden],.workflow-layout .workflow-output [hidden],.workflow-layout .workflow-text-tools [hidden],.workflow-layout .workflow-preview-heading[hidden]{display:none!important}
/* Match the existing ID-scoped rules without changing any control values. */
#savingsDisplaySettings.workflow-adjust #savingsSettingsPanel{padding:0;margin:0;border:0}
#savingsDisplaySettings.workflow-adjust #savingsSettingsPanel .savings-settings-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px}
#savingsDisplaySettings.workflow-adjust #savingsSettingsPanel .savings-rate-mode-btn,
#savingsDisplaySettings.workflow-adjust #savingsSettingsPanel .savings-range-mode-btn,
#savingsDisplaySettings.workflow-adjust #savingsSettingsPanel .pd-choice-btn{min-height:34px;padding:6px 8px;font-size:12px;line-height:1.4}
#savingsDisplaySettings.workflow-adjust #savingsSettingsPanel .savings-rate-mode-note,
#savingsDisplaySettings.workflow-adjust #savingsSettingsPanel .savings-range-mode-note{font-size:11px;line-height:1.5;margin:5px 0}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears{padding:10px 0 0;margin:9px 0 0;border:0;border-top:1px solid var(--workflow-line);background:none;box-shadow:none}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-group{padding:8px;margin:0}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-group h3{margin:0 0 6px;font-size:12px}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-add{gap:6px;margin:0 0 6px;flex-wrap:nowrap}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-add label{width:auto;min-width:0;flex-wrap:nowrap}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears select,
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-add button{min-width:0;min-height:32px;padding:5px 7px;font-size:12px}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-chips{margin-top:7px;gap:5px}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-chips button{min-height:28px;padding:4px 7px;font-size:12px}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-note{font-size:11px;line-height:1.5;margin:6px 0 0}
#savingsDisplaySettings.workflow-adjust #trstOfferControl{padding:8px 0 0;margin:8px 0 0}
#savingsDisplaySettings.workflow-adjust #trstOfferControl button{min-height:32px;padding:5px 9px;font-size:12px}
@media(max-width:900px){
 .workflow-layout .workflow-reading-grid{display:flex;flex-direction:column;gap:14px}
 .workflow-layout .workflow-sidebar{display:contents}
 .workflow-layout .workflow-text-tools{order:0;width:100%}
 .workflow-layout .result-canvas-column{order:1;width:100%;min-width:0}
 .workflow-layout .result-summary-column{order:2;width:100%}
 .workflow-layout .workflow-copy-host .copy-preset-head{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
 .workflow-layout .workflow-copy-host .copy-preset-saved{margin:0}
 .workflow-layout .workflow-copy-host .copy-preset-note{max-width:none}
}
/* Controls revision: compact year selection, useful right column, edit before download. */
.workflow-layout .workflow-adjust-columns{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:22px;align-items:start;border-top:1px solid var(--workflow-line);margin-top:10px;padding-top:10px}
.workflow-layout .workflow-years-column,.workflow-layout .workflow-extra-column{min-width:0}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears{border:0;margin:0;padding:0}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-add{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:7px}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-add label{display:inline-flex;flex:0 1 auto;width:auto;gap:7px;font-size:11px}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-add select{flex:none;width:180px;max-width:100%;font-size:12px}
#savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-add button{flex:none;width:auto}
#savingsDisplaySettings.workflow-adjust #trstOfferControl{margin:0 0 12px;padding:0;border:0;display:flex;flex-wrap:wrap;gap:7px 10px;align-items:center}
.workflow-layout .workflow-extra-column .trst-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:flex-start;padding:0;margin:0;border:0;background:none;box-shadow:none}
.workflow-layout .workflow-extra-column .workflow-primary-row,.workflow-layout .workflow-extra-column .workflow-compatibility-row{display:contents;margin:0}
.workflow-layout .workflow-extra-column .trst-toolbar button{min-height:36px;padding:7px 12px;font-size:12px;line-height:1.4;border:1px solid #dfc9d2;border-radius:7px;background:#fff;color:#815363;cursor:pointer}
.workflow-layout .workflow-extra-column .trst-toolbar [data-seasonal-open]{background:#fff6f8;border-color:#d7a1b2;color:#a12b48;font-weight:600}
.workflow-layout .workflow-extra-column [hidden]{display:none!important}
.workflow-layout .workflow-download-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:center}
.workflow-layout .workflow-download-bar>.workflow-text-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;border:0;padding:0;background:none;border-radius:0}
.workflow-layout .workflow-download-bar>.workflow-text-tools>.workflow-heading{display:none}
.workflow-layout .workflow-download-bar .workflow-edit-actions{flex:0 1 auto;margin:0;gap:7px}
.workflow-layout .workflow-download-bar .workflow-edit-actions button{min-height:34px;padding:6px 10px;font-size:12px;flex:0 1 auto}
.workflow-layout .workflow-download-bar .workflow-copy-host{flex:1 1 360px;min-width:280px;max-width:580px}
.workflow-layout .workflow-download-bar .copy-preset-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:6px}
.workflow-layout .workflow-download-bar .copy-preset-saved{margin:0}
.workflow-layout .workflow-download-bar .copy-preset-buttons{display:flex;flex-wrap:wrap;gap:6px}
.workflow-layout .workflow-download-bar .copy-preset-buttons button{width:auto;min-width:72px;min-height:32px;padding:5px 9px;font-size:12px}
.workflow-layout .workflow-download-bar .copy-preset-auto{margin-top:6px}
.workflow-layout .workflow-download-bar>.workflow-primary-actions{width:auto;justify-self:start}
.workflow-layout .workflow-download-bar>.workflow-primary-actions .workspace-actions{width:auto}
.workflow-layout .workflow-download-bar>#btnDownloadImage{min-width:154px}
.workflow-layout .workflow-preview-heading{justify-content:flex-start;gap:18px}
.workflow-layout .workflow-preview-heading .savings-zoom-toolbar,.workflow-layout .workflow-preview-heading .poster-zoom-controls{margin-left:0;margin-right:auto}
@media(max-width:1050px){
 #savingsDisplaySettings.workflow-adjust #savingsSettingsPanel .savings-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workflow-layout .workflow-adjust-columns{grid-template-columns:minmax(0,1fr) 330px;gap:16px}
 .workflow-layout .workflow-download-bar{grid-template-columns:1fr;gap:12px}
}
@media(max-width:760px){
 .workflow-layout .workflow-adjust-columns{grid-template-columns:1fr;gap:12px}
 .workflow-layout .workflow-extra-column{border-top:1px solid var(--workflow-line);padding-top:10px}
 .workflow-layout .workflow-download-bar .workflow-copy-host{min-width:0;max-width:none;flex-basis:100%}
 .workflow-layout .workflow-download-bar>#btnDownloadImage{justify-self:start;min-width:154px}
 .workflow-layout .workflow-preview-heading{gap:8px}
}
@media(max-width:600px){
 .workflow-layout .workflow-files,.workflow-layout .workflow-adjust{padding:12px;margin-bottom:12px}
 .workflow-layout .workflow-heading h2,.workflow-layout .workflow-adjust .settings-header h2{font-size:15px}
 .workflow-layout .workflow-adjust .savings-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
 .workflow-layout .workflow-adjust .savings-range-mode-control{grid-column:1/-1}
 .workflow-layout .workflow-adjust .display-years-add{grid-template-columns:minmax(0,1fr) auto auto;gap:5px}
 .workflow-layout .workflow-adjust .display-years-add label{display:block;font-size:0}
 .workflow-layout .workflow-adjust .display-years-add select{width:100%;font-size:12px}
 .workflow-layout .workflow-adjust .display-years-add button{font-size:11px;padding:5px 6px}
 .workflow-layout .workflow-adjust .display-years-basis{display:flex;flex-wrap:wrap}
 .workflow-layout .workflow-adjust .display-years-header{flex-wrap:wrap}
 .workflow-layout .workflow-output{padding-bottom:12px;margin-bottom:12px}
 .workflow-layout .workflow-output .workflow-primary-row>button{flex:1 1 calc(50% - 5px);min-width:0}
 .workflow-layout .workflow-output .workspace-actions{display:flex}
 .workflow-layout .workflow-output .workspace-actions>.medical-download-row,.workflow-layout .workflow-output .workspace-actions>#btnDownloadMlpImage{flex:1 1 145px;min-width:0}
 .workflow-layout .workflow-output .medical-download-row>button{width:100%}
 .workflow-layout .workflow-output button{padding:10px 12px;font-size:13px}
 .workflow-layout .workflow-text-tools{padding:10px}
 .workflow-layout .workflow-edit-actions button{min-height:32px;font-size:11px;padding:5px 7px}
 .workflow-layout .workflow-preview-heading{gap:6px;align-items:center;flex-wrap:wrap}
 .workflow-layout .workflow-preview-heading button{padding:5px 6px}
 .workflow-layout .workflow-preview-heading .savings-zoom-toolbar{max-width:100%}
 #savingsDisplaySettings.workflow-adjust #savingsSettingsPanel .savings-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 10px}
 #savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-add label{display:block;font-size:0}
 #savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-add select{font-size:11px;width:100%}
 #savingsDisplaySettings.workflow-adjust #savingsDisplayYears .display-years-basis{gap:5px}
 .workflow-layout #savingsUploadSlots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;align-items:stretch}
 .workflow-layout #savingsUploadSlots .workspace-file-slot{min-width:0;display:flex;flex-direction:column;align-items:stretch}
 .workflow-layout #savingsUploadSlots .savings-slot{min-width:0;min-height:78px;padding:9px 7px;display:flex;flex-direction:column;gap:6px;align-items:flex-start;justify-content:flex-start}
 .workflow-layout #savingsUploadSlots .savings-slot strong{font-size:12px;line-height:1.3}
 .workflow-layout #savingsUploadSlots .savings-slot-file{max-width:100%;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
 .workflow-layout #savingsUploadSlots .workspace-remove{position:static;min-height:25px;padding:3px 6px;font-size:11px;align-self:flex-start;margin:4px 0 0}
}

/* Shared final actions: dedicate the remaining area to a genuinely centered download. */
.workflow-layout .workflow-download-bar{grid-template-columns:minmax(0,2fr) minmax(220px,1fr);align-items:stretch}
.workflow-layout .workflow-download-slot{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;min-height:96px;min-width:0;align-self:stretch}
.workflow-layout .workflow-download-slot>button{flex:0 1 auto!important;min-width:154px;max-width:100%}
.workflow-layout .workflow-download-slot>.workflow-primary-actions{display:flex;align-items:center;justify-content:center;width:auto;max-width:100%}
.workflow-layout .workflow-download-slot .workspace-actions,.workflow-layout .workflow-download-slot .workflow-general-downloads{display:flex;align-items:center;justify-content:center;max-width:100%;gap:8px}
.workflow-layout .workflow-download-slot .medical-download-row{justify-content:center}
.workflow-layout .workflow-adjust .display-years-add{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:7px}
.workflow-layout .workflow-adjust .display-years-add label{display:inline-flex;flex:0 1 auto;width:auto;gap:7px;font-size:11px}
.workflow-layout .workflow-adjust .display-years-add select{flex:none;width:180px;min-width:0;max-width:100%;font-size:12px}
.workflow-layout .workflow-adjust .display-years-add button{flex:none;width:auto}
.workflow-retirement,.workflow-p5{margin-top:18px}
.workflow-retirement .workflow-adjust .display-years-panel,.workflow-p5 .workflow-adjust .display-years-panel{border:0;margin:0;padding:0;background:none;box-shadow:none}
.workflow-retirement .rt-controls,.workflow-p5 .p5-edit-toolbar{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin:0;padding:0;border:0;background:none}
.workflow-retirement .rt-controls>button{min-height:34px;font-size:12px;padding:6px 10px}
.workflow-retirement #retirementDisplaySettings{border:0;border-top:1px solid var(--workflow-line);box-shadow:none;padding:10px 0 0;margin:0;background:none;grid-template-columns:minmax(0,1fr) 380px}
.workflow-retirement #retirementDisplaySettings>.settings-header{display:none}
.workflow-retirement .rt-zoom-toolbar,.workflow-p5 .p5-preview-toolbar{display:flex;align-items:center;gap:8px;margin:0;padding:0;border:0;background:none;width:auto}
.workflow-retirement .rt-zoom-toolbar [hidden],.workflow-p5 .p5-preview-toolbar [hidden]{display:none!important}
.workflow-p5 .p5-edit-toolbar>.p5-action-row:empty{display:none}
.workflow-p5 .p5-offer-controls{margin:0;padding:0;border:0;display:flex;flex-wrap:wrap;gap:8px}
.workflow-p5 .p5-rules{margin:0;width:100%}
.workflow-p5 #p5EditHint{font-size:11px;margin:0;line-height:1.5}
.workflow-p5 #p5Export,.workflow-retirement #rtExport{background:#b02d4e;color:#fff;border:1px solid #b02d4e;border-radius:8px}
.workflow-retirement #rtStatus:empty{display:none}
@media(max-width:1050px){
 .workflow-layout .workflow-download-bar{grid-template-columns:minmax(0,1fr) minmax(180px,.6fr);gap:14px}
}
@media(max-width:760px){
 .workflow-layout .workflow-download-bar{grid-template-columns:1fr;gap:10px}
 .workflow-layout .workflow-download-slot{min-height:64px;justify-content:center}
 .workflow-layout .workflow-download-slot>button{width:auto}
 .workflow-layout .workflow-adjust .display-years-add select{width:min(180px,100%)}
}

.workflow-retirement #retirementDisplayYears{grid-column:1;align-self:start}
.workflow-retirement #workflowRetirementExtras{grid-column:2;align-self:start}
.workflow-p5 .workflow-p5-reference{width:100%;font-size:12px;line-height:1.5;border-top:1px solid var(--workflow-line);padding-top:8px}
.workflow-p5 .workflow-p5-reference>summary{cursor:pointer;color:#795865;font-weight:600}
.workflow-p5 .workflow-p5-reference>.p5-rules{font-size:12px;padding:8px 0 0}
.workflow-p5 .workflow-p5-reference>.p5-rules>.always-visible-heading{display:none}
@media(max-width:1050px){.workflow-retirement #retirementDisplaySettings{grid-template-columns:minmax(0,1fr) 330px}}
@media(max-width:760px){
 .workflow-retirement #retirementDisplaySettings{grid-template-columns:1fr}
 .workflow-retirement #workflowRetirementExtras{grid-column:1}
}
