/* Visitor-flow fixes use the existing Doctrine colors, type, and components. */
input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px;min-height:46px;border-color:#758673}
.v06-site .editable-table input,.v06-site .editable-table select,.v06-site .field input,.v06-site .field select{font-size:16px;min-height:46px}
.v06-site .field-label,.v06-site .field-hint,.v06-site .tiny,.v06-site .small,.v06-site .chart-caption,.v06-site .result-description,.v06-site .result-label,.v06-site .plain-result-scope,.v06-site .task-field-help{font-size:14px;line-height:1.6}
.v06-site .page-heading p,.v06-site .plain-result-summary p,.v06-site .v08-tool-card p,.v06-site .explanation-card p,.v06-site .callout{font-size:16px;line-height:1.65}
.v06-site .data-table,.v06-site .editable-table{font-size:14px}
.v06-site input,.v06-site textarea,.v06-site select{border-color:#758673}
.visitor-next-step{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:20px}
.visitor-next-step .text-link{min-height:44px;text-align:left}
.guided-transfer-note{padding:12px 16px!important;font-size:14px!important}
.guided-transfer-note>p{margin:0!important}.guided-transfer-note details{margin:8px 0 0}
.calendar-period{padding:18px;border:1px solid #758673;border-radius:10px;background:#f6f8ef;margin-bottom:18px}
.calendar-period label{display:block;font-weight:650;margin-bottom:8px}.calendar-period input{display:block;max-width:280px;margin-top:6px;padding:10px}
.calendar-period p{font-size:14px;line-height:1.6;margin:8px 0}.calendar-period button{min-height:44px}
.calendar-date-field{display:block;min-width:150px}.calendar-date-field label{display:block;font-size:14px;margin-bottom:5px}
.calendar-date-field input{width:100%;padding:8px}.entry-day-date{display:block;font-size:14px}
.calendar-period-error{color:#8b3024}.result-note-review{max-width:650px;width:calc(100% - 32px);max-height:90vh;overflow:auto;padding:26px;border:1px solid #758673;border-radius:14px;background:#fffdf6;color:#193c2e;font:16px/1.6 system-ui,sans-serif}
.result-note-review::backdrop{background:#10261fc2}.result-note-review h2{font:30px/1.2 Doctrine,Georgia,serif;margin-top:0}
.result-note-review label{display:grid;gap:6px;margin:16px 0}.result-note-review input,.result-note-review select,.result-note-review textarea{font:inherit;width:100%;padding:10px;border:1px solid #758673;border-radius:6px;background:white;color:#193c2e;box-sizing:border-box}
.result-note-review button{font:inherit;min-height:46px;padding:10px 16px;border:1px solid #24513c;border-radius:6px;color:#193c2e;background:#fff}
.result-note-review button.primary{background:#1b4332;color:white}.result-note-review .button-row{display:flex;gap:10px;flex-wrap:wrap}
.result-note-privacy{font-size:14px}.result-note-error{color:#8b3024}.result-note-review :focus-visible{outline:3px solid #165b89;outline-offset:3px}
.guide-unknown{margin-top:20px}.guide-unknown p{font-size:16px}.guide-unknown button{margin:5px 8px 5px 0}
.swd-global-header{padding-block:12px!important}.swd-global-brand small{font-size:12px!important}.swd-global-quick a,.swd-global-header button,.swd-global-menu>summary{min-height:44px;display:inline-flex;align-items:center}
.swd-global-menu-panel{max-height:75vh;overflow:auto}.swd-c-wrap{padding-top:28px}
body[data-workspace-tab=emergency]>.hero,body[data-workspace-tab=emergency] .workspace>.example-notice,body[data-workspace-tab=emergency] .workspace>.workspace-save-state,body[data-workspace-tab=emergency] .workspace>.workspace-entry-state{display:none!important}
body[data-workspace-tab=emergency] .main-grid{padding-top:18px}
@media(max-width:800px){
 .swd-global-header{gap:8px!important;padding:10px 16px!important}.swd-global-brand{font-size:14px!important;flex:1}.swd-global-quick{display:none!important}.swd-global-brand small{display:none!important}
 .intro-hero{padding:18px!important;margin:12px 0 18px!important}.intro-hero h1{font-size:32px!important}.intro-hero p{font-size:16px!important}.intro-hero .assurance{margin-top:10px}
 .shell{padding-top:8px!important}.v08-breadcrumbs{padding-top:10px!important;font-size:13px!important}.mobile-nav .nav-link{min-height:48px!important}
 .choice-description,.choice-arrow,.horizontal-link span,.field label,.field .hint,.micro,.question-footer,.privacy-line,.footer-note,.stat-row,.stat-row strong,.next-list,.question-shell details p{font-size:14px!important;line-height:1.6}
 .question-shell .lead,.question-shell .question-card p,.question-shell .result-banner p{font-size:16px!important;line-height:1.6}
 .result-actions{gap:12px}.result-actions .btn{flex-basis:100%}.guide-unknown{padding:12px}
 .v06-site .page-heading{margin-bottom:16px}.v06-site .page-heading h1{font-size:32px}.v06-site .entry-card-row input,.v06-site .entry-card-row select{font-size:16px;min-height:48px}
 .v06-site .lab-tabs{gap:4px}.v06-site .lab-tab{font-size:14px;min-height:44px}.v06-site .guided-entry-choice p{font-size:14px;line-height:1.6}
 .calendar-period{padding:14px}.result-note-review{padding:20px}.swd-c-lead{font-size:16px}.swd-c-form{margin-top:18px}
}
@media print{.visitor-next-step,.calendar-period,.result-note-review{display:none!important}}

/* Keep shared navigation free of each page’s disclosure-card styling. */
.swd-global-menu{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.chart-plot-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}.chart-plot-scroll .line-chart{min-width:820px;max-width:none;width:100%}.chart-values summary{font-size:14px;min-height:44px;display:flex;align-items:center}.result-note-review input[type=checkbox]{width:20px;min-height:20px}
@media(max-width:740px){.v06-site:has(#toolBody) .page-heading .eyebrow{display:none}.v06-site:has(#toolBody) .page-heading h1{margin-block:6px}.v06-site:has(#toolBody) .v08-why{margin-block:10px}}

#panel-emergency .section-heading h1{font:400 32px/1.2 Doctrine,Georgia,serif;margin:8px 0 12px}

/* Keep the main answer and a useful next action within easy reach. */
.tool-result-overview{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin:18px 0 24px;border:1px solid #b8c9ad;border-radius:10px;background:#f1f5e9;color:#193e2d}
.tool-result-overview>div{min-width:0}.tool-result-overview p{margin:4px 0;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.tool-result-overview .tool-result-preview-heading{font-family:var(--serif);font-size:29px;line-height:1.2;margin:6px 0}
.tool-result-overview .tool-result-preview-scope{font-size:13px;color:#43583f}
.tool-result-overview .button{flex-shrink:0;white-space:normal;max-width:260px;min-height:48px;text-align:center}
.visitor-next-step{display:block;border-top:1px solid #c4d2b5;padding-top:18px;margin-top:18px}
.visitor-next-copy h3{font-family:var(--sans,Arial,sans-serif);font-size:16px;margin:0 0 6px;color:#193e2d}
.visitor-next-copy p{font-size:15px;line-height:1.6;margin:0 0 15px;max-width:68ch}
.visitor-next-step .button-row{gap:12px 18px}.visitor-next-step .button,.visitor-next-step .text-link{white-space:normal;min-height:44px}
#tool-main-result,#sensitivity-grid,#optionsInputs{scroll-margin-top:24px}
.result-choice-status{list-style:none;padding:0;margin:16px 0}.result-choice-status li{padding:10px 0;border-bottom:1px solid #c4d2b5;font-size:15px;line-height:1.5}
.result-choice-status strong,.result-choice-status span{display:block}.plain-result-summary:has(.result-choice-status) .plain-result-amount{font-size:clamp(25px,4vw,36px)}
.tool-collection-note{padding:18px 22px;border:1px solid #cbd5c3;border-radius:8px;background:#f6f7ee;margin:20px 0;color:#304b37}
.tool-collection-note p{font-size:15px;line-height:1.65;margin:0 0 10px}.tool-collection-note p:last-child{margin-bottom:0}
.tool-collection-note .text-link{display:inline;white-space:normal;font-size:inherit}.tool-collection-note .text-link svg{display:none}
.tool-directory-heading{margin:30px 0 18px;font-size:29px}.homepage-group-content .tool-collection-note{margin:18px 0}
.nav-quick-tools{padding:12px 6px;border-bottom:1px solid #cbd5c3;margin-bottom:4px}
.nav-quick-tools h2{font:700 12px/1.5 system-ui,sans-serif;letter-spacing:.04em;margin:0 0 6px;color:#43583f}
.nav-quick-tools a{display:flex;align-items:center;min-height:44px;padding:7px 4px;color:#193e2d;font:600 14px/1.4 system-ui,sans-serif;text-underline-offset:3px}
.swd-global-menu-panel .nav-quick-tools{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px 22px;padding:0 0 12px}.swd-global-menu-panel .nav-quick-tools h2{width:100%;margin:0}
@media(max-width:740px){.tool-result-overview{display:block;padding:18px;margin-block:16px}.tool-result-overview .button{max-width:none;width:100%;margin-top:14px;justify-content:center}.tool-collection-note{padding:16px}.visitor-next-step .button-row{align-items:stretch}.visitor-next-step .button{width:100%;justify-content:center}.visitor-next-step .text-link{padding-block:8px}}
@media print{.tool-result-overview,.nav-quick-tools{display:none!important}}

.v06-site .plain-result-summary .plain-result-amount{font-size:43px;line-height:1.12}
.v06-site .plain-result-summary>p:not(.eyebrow):not(.plain-result-amount){font-size:16px;line-height:1.65}
.v06-site .plain-result-summary .plain-result-label{font-size:14px}
.v06-site .plain-result-summary .plain-result-scope{font-size:14px!important;line-height:1.6}
.v06-site .plain-result-summary:has(.result-choice-status) .plain-result-amount{font-size:clamp(25px,4vw,36px)}
.tool-result-overview .tool-result-preview-label{font-size:14px;font-weight:600;color:#43583f}

.tool-collection-note summary{cursor:pointer;min-height:44px;align-content:center;font-size:14px;font-weight:600}.tool-collection-note details p{margin-top:12px}

/* Keep the next action beside the answer, ahead of the fuller explanation. */
.visitor-next-step{margin-bottom:18px}
.v06-site .plain-result-summary .eyebrow{font-size:13px;line-height:1.5}
/* Audit follow-up: task-critical labels and actions must be readable at all sizes. */
.v06-site #toolBody .editable-table th{font-size:.875rem;line-height:1.4;letter-spacing:0;text-transform:none;white-space:normal;color:#3f5142}
.v06-site #toolBody .entry-card-label{font-size:.875rem;line-height:1.5;color:#314b39}
.v06-site #toolBody .button,.v06-site .guided-step-panel .button,.v06-site .guided-entry-choice .button{font-size:.875rem;min-height:44px;white-space:normal}
.v06-site #toolBody .explicit-zero{font-size:.875rem;min-height:44px}
.v06-site #toolBody .entry-day-date{font-size:.875rem}
.v06-site #toolBody .debt-apr-help{margin:0 0 12px;max-width:76ch}
.v06-site #toolBody .timing-order-field{flex:1 1 250px;min-width:0;max-width:100%}
.v06-site #toolBody .timing-order-field select{width:100%;min-width:0;max-width:100%}
.v06-site #toolBody .day-low{display:block;font-size:.75rem;line-height:1.35;overflow-wrap:anywhere;color:#863f2c;margin-top:2px}
@media(min-width:741px){
 .v06-site #toolBody .debt-entry-table{table-layout:fixed;width:100%;min-width:0}
 .v06-site #toolBody .debt-entry-table th:nth-child(1){width:30%}
 .v06-site #toolBody .debt-entry-table th:nth-child(2){width:20%}
 .v06-site #toolBody .debt-entry-table th:nth-child(3){width:23%}
 .v06-site #toolBody .debt-entry-table th:nth-child(4){width:21%}
 .v06-site #toolBody .debt-entry-table th:nth-child(5){width:6%}
 .v06-site #toolBody .debt-entry-table td input{width:100%;min-width:0;max-width:100%}
 .v06-site #toolBody .debt-entry-table .remove-cell button{min-width:36px;min-height:44px}
}
@media(max-width:480px){.v06-site #toolBody .input-panel .chart-heading{flex-direction:column;align-items:stretch;gap:12px}.v06-site #toolBody .input-panel .chart-heading>.button{align-self:flex-start;max-width:100%}}
@media(max-width:740px){.v06-site #toolBody .timing-order-field{flex:1 1 100%}.v06-site #toolBody .day-low{font-size:.75rem}.v06-site #toolBody .entry-card-label{min-height:0}.v06-site #toolBody .debt-entry-table td input{max-width:100%}}
@media(max-width:480px){#toolBody .editable-table .event-row{grid-template-columns:minmax(0,1fr)}.calendar-date-field{min-width:0}.calendar-date-field input{max-width:100%;box-sizing:border-box}}
@media(max-width:740px){
 .v06-site #toolBody .lab-layout{grid-template-columns:minmax(0,1fr)}
 .v06-site #toolBody .lab-layout>*{min-width:0;max-width:100%}
 .v06-site #toolBody .input-panel form{grid-template-columns:minmax(0,1fr);min-width:0}
 .v06-site #toolBody .input-panel form>*{min-width:0;max-width:100%}
}
