/* Adapt the existing public Budget, Retirement and Investments widgets to a
 * standalone tool page. The underlying models and authenticated app are untouched. */
/* These widgets previously inherited their accessibility and button utilities
 * from the full landing stylesheet. Keep the standalone dependencies explicit. */
.wmd-tools-page .wmd-tools-embed .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;min-width:0!important;min-height:0!important}
.wmd-tools-page .wmd-tools-embed [hidden]{display:none!important}
.wmd-tools-page .wmd-tools-embed .btn{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:11px 19px;border:1px solid #b8daf9;border-radius:12px;font-size:15px;font-weight:700;line-height:1.4;text-decoration:none;text-align:center;cursor:pointer}
.wmd-tools-page .wmd-tools-embed .btn-primary{color:#081828;background:#b4d9fa}
.wmd-tools-page .wmd-tools-embed .btn-primary:hover{background:#d0e8ff}
.wmd-tools-page .wmd-tools-embed .text-link{display:inline-flex;align-items:center;gap:8px;min-height:42px;color:#bfe0ff;font-size:14px;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.wmd-tools-page .wmd-tools-embed .text-link:hover{color:#fff}
.wmd-tools-page .wmd-tools-embed :is(.btn,.text-link):focus-visible{outline:3px solid #bfe2ff;outline-offset:4px}
.wmd-tools-page .wmd-tools-embed{min-width:0;max-width:100%;margin:0 0 36px}
.wmd-tools-page #wmd-month-direction,.wmd-tools-page #wmd-retirement-demo{max-width:100%;min-width:0}
.wmd-tools-page .wmd-md-layout,.wmd-tools-page .wmd-rtd-layout{gap:24px}
.wmd-tools-page .wmd-md-entry,.wmd-tools-page .wmd-md-direction,.wmd-tools-page .wmd-rtd-controls,.wmd-tools-page .wmd-rtd-results{border-radius:20px}
.wmd-tools-page .wmd-md-entry label,.wmd-tools-page .wmd-rtd-controls label{font-size:14px}
.wmd-tools-page :is(.wmd-md-entry,.wmd-rtd-controls) input[type=number]{min-height:44px;font-size:16px}
.wmd-tools-page .wmd-md-actions{flex-wrap:wrap}
.wmd-tools-page .wmd-md-goal-input{min-width:0}
.wmd-tools-page .wmd-md-goal-input input{flex:1 1 auto}
.wmd-tools-page .wmd-md-goal-input>span,.wmd-tools-page .wmd-md-goal-input>small{flex:none}
.wmd-tools-page .wmd-rtd-stress-controls{margin:20px 0;padding:13px 15px;border:1px solid rgba(156,203,250,.23);border-radius:12px;background:rgba(9,25,42,.55)}
.wmd-tools-page .wmd-rtd-stress-controls label{display:flex;align-items:center;gap:10px;min-height:28px;color:#d5e8f9;font-size:14px;line-height:1.5;cursor:pointer}
.wmd-tools-page .wmd-rtd-stress-controls input[type=checkbox]{width:18px;height:18px;flex:none;margin:0;accent-color:#a4d4ff}
.wmd-tools-page .wmd-rtd-stress-controls p{margin:9px 0 0;color:#b4cce2;font-size:14px;line-height:1.55}
.wmd-tools-page .wmd-rtd-stress-controls p:empty{display:none}
.wmd-tools-page #wmd-rtd-chart .wmd-rtd-inspect-halo{fill:rgba(156,207,250,.2);stroke:none}
.wmd-tools-page #investments-preview{padding:0;margin:0}
.wmd-tools-page #investments-preview .wmd-investment-story-surface{max-width:100%;padding:24px;border-radius:20px;overflow:hidden;background:#101f33;border:1px solid #2b425d}
.wmd-tools-page #workspaceInvestmentsPreview{width:100%;min-width:0}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-head{display:flex;align-items:start;justify-content:space-between;gap:20px}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-head>div{display:grid;gap:7px;min-width:0}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-head strong{font-size:clamp(24px,3vw,40px);color:#edf5ff}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-head small,.wmd-tools-page #workspaceInvestmentsPreview .product-invest-head span{color:#afc4d9;font-size:14px}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-coverage strong{font-size:18px}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-chart,.wmd-tools-page #workspaceInvestmentsPreview .product-invest-market{padding:24px 0 0;margin-top:24px;border-top:1px solid #30445a}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-chart-head{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:14px;color:#c8dced;margin-bottom:14px}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-periods{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-periods button{min-height:40px;padding:8px 14px;border:1px solid #3b5672;border-radius:11px;background:#132a42;color:#cce0f1;font:600 14px inherit}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-periods button[aria-pressed=true]{background:#aed5fa;color:#102238}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-history-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-history-metrics>div{display:grid;gap:7px;min-width:0}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-history-metrics strong{font-size:clamp(23px,3vw,38px);line-height:1.2;color:#e6f3ff;overflow-wrap:anywhere}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-history-metrics small{font-size:14px;color:#afc4d9}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-line{display:block;width:100%;height:220px;color:#a8d1fa}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-line.is-down{color:#f1a8b1}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-history-axis{display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#afc4d9;margin:12px 0}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-market-summary{padding:16px 0}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-market-summary>div{display:grid;gap:8px}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-market-summary strong{font-size:24px}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-movers{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-movers h4{font-size:17px}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-mover{display:grid;grid-template-columns:1fr auto auto;gap:12px;padding:12px 0;font-size:15px;border-bottom:1px solid #283d54}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-mover.is-up{color:#a8d1fa}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-mover.is-down{color:#f1a8b1}
.wmd-tools-page #workspaceInvestmentsPreview .product-invest-disclosure{font-size:14px;line-height:1.6;color:#acc2d6;margin:24px 0 0}
@media(max-width:700px){.wmd-tools-page #workspaceInvestmentsPreview .product-invest-head{flex-direction:column}.wmd-tools-page #workspaceInvestmentsPreview .product-invest-movers{grid-template-columns:1fr}.wmd-tools-page #investments-preview .wmd-investment-story-surface{padding:18px}.wmd-tools-page #workspaceInvestmentsPreview .product-invest-head strong{font-size:32px}.wmd-tools-page #workspaceInvestmentsPreview .product-invest-coverage{display:none}}
@media(max-width:420px){.wmd-tools-page #workspaceInvestmentsPreview .product-invest-history-metrics{grid-template-columns:1fr}.wmd-tools-page #workspaceInvestmentsPreview .product-invest-periods button{padding:8px 11px}}
