/* Scoped visual layer for the existing ten-year readiness model. */
#bm-buffer.br-active .br-replaced{display:none!important}
#bm-buffer .br-explorer{margin:28px 0!important;padding:24px 0 26px;border-bottom:1px solid var(--line);border-top:1px solid var(--line);color:var(--ink)}
#bm-buffer .br-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}
#bm-buffer .br-head h3{margin-top:6px!important;font-size:24px!important;line-height:1.25}
#bm-buffer .br-sub{font-size:14px!important;color:var(--muted);line-height:1.6;margin:7px 0 0!important}
#bm-buffer .br-views{display:flex;gap:3px;background:var(--soft);padding:4px;border-radius:9px;flex-shrink:0}
#bm-buffer .br-views button{font-size:13px!important;border:1px solid transparent;background:transparent;padding:9px 12px;white-space:nowrap;font-weight:600!important;min-height:44px}
#bm-buffer .br-views button[aria-pressed=true]{background:white;border-color:#c4cebf;color:var(--green)}
#bm-buffer .br-context{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0 14px}
#bm-buffer .br-context p{font-size:13px!important;line-height:1.6;margin:0!important;color:var(--muted);max-width:560px}
#bm-buffer #br-jump{background:var(--goldsoft);border-color:#dccc9e;font-size:12px!important;white-space:nowrap;padding:10px 12px}
#bm-buffer .br-legend{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:12px!important;color:var(--muted);margin:10px 0}
#bm-buffer .br-legend span{display:flex;align-items:center;gap:7px}
#bm-buffer .br-legend i{display:block;width:23px;border-top:3px solid;flex-shrink:0}
#bm-buffer .br-legend i.br-down-key{width:16px;height:12px;background:#f7ebe2;border:1px solid #dec5b3;border-radius:2px}
#bm-buffer .br-canvas{width:100%;min-width:0;overflow:hidden;background:#fcfdfb;border:1px solid #d6ded0;border-radius:9px;padding:10px 5px 0}
#bm-buffer #br-chart{display:block;width:100%;min-width:0;touch-action:pan-y}
#bm-buffer .br-axis{font-size:11px;fill:var(--muted);font-family:Raleway,"Segoe UI",sans-serif}
#bm-buffer .br-threshold-label{font-size:11px;font-family:Raleway,"Segoe UI",sans-serif;paint-order:stroke;stroke:#fff;stroke-width:3px;stroke-linejoin:round}
#bm-buffer .br-peak-label{font-family:Raleway,"Segoe UI",sans-serif;font-size:11px;fill:#73510c;font-weight:600}
#bm-buffer [data-br-peak]{cursor:pointer}
#bm-buffer .br-month-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;font-size:14px!important;color:var(--green);font-weight:600}
#bm-buffer .br-month-head output{font-size:15px!important;font-variant-numeric:tabular-nums}
#bm-buffer #br-month{width:100%;accent-color:var(--gold);min-height:44px;padding:0;border:0;background:transparent;margin:2px 0 0!important}
#bm-buffer .br-range-ends{display:flex;justify-content:space-between;font-size:11px!important;color:var(--muted);margin-top:-3px}
#bm-buffer .br-small{font-size:12px!important;line-height:1.65;color:var(--muted);margin:8px 0 0!important}
#bm-buffer .br-year-context{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:15px;font-size:12px!important;color:var(--muted)}
#bm-buffer #br-edit-year{font-size:12px!important;padding:4px 2px;min-height:44px;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-weight:400!important;color:var(--green);white-space:nowrap}
#bm-buffer .br-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:var(--soft);border:1px solid #d4dccf;border-radius:9px;margin-top:9px;overflow:hidden}
#bm-buffer .br-stats>div{padding:14px 15px;border-right:1px solid #d4dccf}
#bm-buffer .br-stats>div:last-child{border-right:0}
#bm-buffer .br-stats span{display:block;color:var(--muted);font-size:11px!important;line-height:1.55}
#bm-buffer .br-stats strong{display:block;font-size:21px!important;font-weight:600!important;color:var(--green);line-height:1.3;margin-top:5px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#bm-buffer .br-stats .br-caution{color:#805609}
#bm-buffer .br-risk-reference{margin-top:16px}
#bm-buffer .br-risk-labels{display:flex;justify-content:space-between;gap:12px;font-size:11px!important;color:var(--muted)}
#bm-buffer .br-risk-labels span:last-child{color:#913c30}
#bm-buffer .br-risk-track{height:6px;background:#e5e9e0;border-radius:6px;position:relative;margin:10px 0 12px}
#bm-buffer .br-risk-track i{display:block;height:100%;background:#537247;border-radius:6px}
#bm-buffer .br-risk-track i.br-near-limit{background:#c59a37}
#bm-buffer .br-risk-track b{height:14px;width:2px;position:absolute;top:-4px;background:#7b817a}
#bm-buffer .br-risk-track b:last-child{background:#a13c2f}
#bm-buffer .br-insight{font-size:15px!important;line-height:1.75;margin:18px 0 0!important;padding:2px 0 2px 15px;border-left:3px solid var(--gold);min-height:58px}
#bm-buffer.br-active .annual-card{position:relative}
#bm-buffer.br-active .annual-card.br-binding-year{border-bottom:3px solid #bc921f}
#bm-buffer.br-active .annual-card.br-selected-year{outline:2px solid #9b781a;outline-offset:2px}
#bm-buffer .br-year-badge{display:block;min-height:17px;margin-top:8px;color:#74500b;font-size:10px!important;line-height:1.4}
#bm-buffer .br-outcome{margin:30px 0!important}
#bm-buffer .br-outcome h3{font-size:24px!important;line-height:1.3;margin-top:6px!important}
#bm-buffer #br-stack-trail{margin-top:19px}
#bm-buffer #br-stack-trail .stack-value{white-space:normal;overflow-wrap:anywhere}
#bm-buffer .br-balance{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#bm-buffer .br-balance>div{padding:18px;background:#fff;border:1px solid #cbd4c7;border-radius:9px}
#bm-buffer .br-balance span{display:block;font-size:12px!important;color:var(--muted)}
#bm-buffer .br-balance strong{display:block;margin-top:7px;font-size:26px!important;line-height:1.25;font-weight:600!important;color:var(--green);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#bm-buffer .br-balance small{display:block;color:var(--muted);font-size:12px!important;line-height:1.65;margin-top:8px}
#bm-buffer .br-balance .br-negative{color:var(--red)}
#bm-buffer .br-settlement{border:1px solid #d9cba5;border-left:3px solid var(--gold);border-radius:8px;background:#fffefb;padding:5px 18px 12px;margin-top:16px}
#bm-buffer .br-settlement summary{font-size:14px!important}
#bm-buffer .br-settlement p{font-size:14px!important;line-height:1.7;margin:8px 0 0!important}
#bm-buffer .br-settlement p.br-small{font-size:12px!important}
#bm-buffer .br-settle-value{font-size:32px!important;font-weight:600;line-height:1.3;color:var(--green);margin-top:12px;overflow-wrap:anywhere}
#bm-buffer .br-outcome-note{font-size:12px!important;color:var(--muted);line-height:1.7;margin:14px 0 0!important}
#bm-buffer .br-details{border:1px solid #cbd4c7;border-radius:9px;padding:5px 18px 12px;margin-top:20px}
#bm-buffer .br-details>summary{font-size:14px!important}
#bm-buffer .br-details .table-wrap{margin-top:12px}
#bm-buffer .br-details .monthly-detail{border-top:1px solid var(--line);padding-top:6px}
@media(max-width:1000px){#bm-buffer .br-head{display:block}#bm-buffer .br-views{width:max-content;max-width:100%;margin-top:15px}#bm-buffer .br-stats strong{font-size:19px!important}}
@media(max-width:720px){#bm-buffer .br-context{align-items:flex-start;flex-direction:column;gap:10px}#bm-buffer .br-stats{grid-template-columns:1fr 1fr}#bm-buffer .br-stats>div:nth-child(2){border-right:0}#bm-buffer .br-stats>div:nth-child(-n+2){border-bottom:1px solid #d4dccf}#bm-buffer .br-balance{grid-template-columns:1fr}#bm-buffer .br-balance>div{padding:17px}#bm-buffer .br-year-context{align-items:flex-start;flex-direction:column;gap:0}#bm-buffer .br-year-context #br-edit-year{min-height:38px}#bm-buffer .br-risk-labels{font-size:10px!important}#bm-buffer .br-outcome h3,#bm-buffer .br-head h3{font-size:22px!important}#bm-buffer .br-stats>div{padding:12px}#bm-buffer .br-insight{min-height:110px;font-size:14px!important}#bm-buffer .br-month-head{font-size:13px!important}#bm-buffer .br-month-head output{font-size:13px!important}#bm-buffer .br-settle-value{font-size:27px!important}#bm-buffer .br-views button{font-size:12px!important;padding:9px 10px}#bm-buffer .br-canvas{padding:8px 0 0}#bm-buffer .br-settlement,#bm-buffer .br-details{padding-left:13px;padding-right:13px}}
@media(max-width:380px){#bm-buffer .br-stats strong{font-size:17px!important}#bm-buffer .br-views{width:100%}#bm-buffer .br-views button{flex:1;padding-left:5px;padding-right:5px}#bm-buffer .br-month-head{display:block}#bm-buffer .br-month-head output{display:block;margin-top:4px}}
@media(prefers-reduced-motion:reduce){#bm-buffer .br-explorer *{transition:none!important;scroll-behavior:auto!important}}
