.portfolio-stress{margin:28px 0;padding:34px;border:1px solid #e5ddd1;border-radius:28px;background:linear-gradient(145deg,#fffdf8,#f5f0e7);color:#13221a}.stress-head{display:flex;justify-content:space-between;gap:28px;align-items:flex-start}.stress-head h3{font:700 clamp(1.6rem,3vw,2.35rem)/1.08 Manrope,sans-serif;margin:8px 0 12px;max-width:720px}.stress-head p{max-width:780px;color:#626d66;line-height:1.65}.stress-head aside{min-width:190px;padding:20px;border-radius:20px;background:#2b2117;color:#fff;display:grid;gap:4px}.stress-head aside strong{font:800 2rem Manrope,sans-serif;color:#d7f56e}.stress-head aside span,.stress-head aside small{color:#e9e2d8}.stress-assumptions{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.stress-assumptions article{position:relative;padding:18px;border:1px solid #e6ded3;border-radius:18px;background:#fff;display:grid;gap:6px}.stress-assumptions span{position:absolute;right:14px;top:12px;color:#b7a895;font:800 1.15rem Manrope,sans-serif}.stress-assumptions strong{padding-right:32px}.stress-assumptions small{color:#6e776f;line-height:1.45}.stress-form{display:grid;grid-template-columns:1.1fr 1fr 1fr 1.15fr auto;gap:12px;align-items:end;padding:18px;border-radius:20px;background:#ebe3d7}.stress-form label,.stress-form>div{display:grid;gap:7px;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.stress-form>div{padding:9px 3px}.stress-form>div strong{font-size:.92rem;text-transform:none;letter-spacing:0}.stress-form span,.stress-form small{font-size:.74rem;color:#6c746d}.stress-form .btn{min-height:50px}.stress-loading,.stress-error,.stress-empty{margin-top:18px;padding:24px;border-radius:18px;background:#fff;border:1px solid #e5ddd1;display:flex;gap:14px;align-items:center}.stress-error{border-color:#efc1b8;background:#fff6f3}.stress-empty{display:grid}.stress-empty span,.stress-error p,.stress-loading small{color:#6d7770}.stress-scoreboard{display:grid;grid-template-columns:repeat(4,1fr);margin-top:18px;border:1px solid #e3dbd0;border-radius:20px 20px 0 0;overflow:hidden}.stress-scoreboard article{padding:20px;background:#fff;border-right:1px solid #e8e1d8;display:grid;gap:5px}.stress-scoreboard article:last-child{border:0}.stress-scoreboard span,.stress-scoreboard small{color:#707a73;font-size:.75rem}.stress-scoreboard strong{font:800 1.55rem Manrope,sans-serif}.stress-matrix{border:1px solid #e3dbd0;border-top:0;border-radius:0 0 20px 20px;overflow:auto}.stress-row{min-width:920px;display:grid;grid-template-columns:1.1fr repeat(4,1fr);gap:0;background:#fff;border-top:1px solid #e8e1d8}.stress-row.header{border:0;background:#2b2117;color:#ece7df;text-transform:uppercase;font-size:.66rem;letter-spacing:.07em}.stress-row>span,.stress-row>strong{padding:17px;border-right:1px solid #ece6de;display:grid;gap:5px}.stress-row>span:last-child{border:0}.stress-row strong small,.stress-row span small{color:#748078;font-size:.7rem;font-weight:500}.stress-row b{font:800 1.05rem Manrope,sans-serif}.stress-row i{font-size:.64rem;font-style:normal;color:#a14d38}.stress-row .positive,.stress-scoreboard .positive,.stress-ledger-list .positive{color:#087b4d}.stress-row .negative,.stress-scoreboard .negative,.stress-ledger-list .negative{color:#b1463d}.stress-plan-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:14px}.stress-plan-summary article{padding:16px;border:1px solid #e3dbd0;border-radius:16px;background:#fff;display:grid;gap:4px}.stress-plan-summary span,.stress-plan-summary small{font-size:.72rem;color:#6e7871}.stress-plan-summary strong{color:#8b5f14}.stress-plan-summary .more-resilient strong{color:#357200}.stress-plan-summary .fragile strong{color:#a33f37}.stress-ledger{margin-top:24px}.stress-ledger h4{font:700 1.3rem Manrope,sans-serif;margin:6px 0 14px}.stress-ledger-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.stress-ledger-list article{padding:18px;border:1px solid #e3dbd0;border-radius:18px;background:#fff;display:grid;gap:6px}.stress-ledger-list article div{display:flex;justify-content:space-between}.stress-ledger-list i{font-style:normal;text-transform:uppercase;font-size:.65rem;color:#5d741d}.stress-ledger-list span,.stress-ledger-list small,.stress-ledger-list code{color:#6c7770;font-size:.72rem}.stress-ledger-list code{overflow:hidden;text-overflow:ellipsis}.stress-boundary{margin:20px 0 0;padding:16px;border-left:3px solid #bb8b3c;background:#faf3e5;color:#5f574d;line-height:1.55}
@media(max-width:1050px){.stress-assumptions,.stress-scoreboard,.stress-plan-summary{grid-template-columns:repeat(2,1fr)}.stress-form{grid-template-columns:repeat(2,1fr)}.stress-form .btn{grid-column:1/-1}}
@media(max-width:680px){.portfolio-stress{padding:22px 16px}.stress-head{display:grid}.stress-head aside{min-width:0}.stress-assumptions,.stress-scoreboard,.stress-plan-summary,.stress-form,.stress-ledger-list{grid-template-columns:1fr}.stress-scoreboard article{border-right:0;border-bottom:1px solid #e8e1d8}}
