/* Potential Value extensions: no changes to the original simulator layout.
   Uses existing theme variables and the document's native scroll. */
.wealth-all,
.wealth-income{
 width:100%;
 max-width:810px;
 margin-inline:auto;
}
.wealth-all{
 margin-top:clamp(25px,4vh,42px);
 border-top:1px solid var(--line);
 padding-top:22px;
}
.wealth-extra-head{
 display:flex;align-items:baseline;justify-content:space-between;
 flex-wrap:wrap;gap:5px 15px;
}
.wealth-extra-head h2{
 margin:0;color:var(--muted);
 font-size:11px;line-height:1.5;font-weight:800;
 letter-spacing:.11em;
}
.wealth-extra-state{
 color:var(--accent);font-size:10px;font-weight:750;
 letter-spacing:.055em;font-variant-numeric:tabular-nums;
}
.wealth-all-grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
 gap:clamp(14px,4vw,50px);margin-top:18px;
}
.wealth-all-grid article{min-width:0;padding:10px 0 15px}
.wealth-all-grid article>span{
 display:block;font-size:10px;color:var(--muted);
 letter-spacing:.075em;font-weight:800;
}
.wealth-all-grid article>strong{
 display:block;max-width:100%;margin:7px 0 3px;
 color:var(--text);font-size:clamp(20px,3.3vw,33px);
 line-height:1.2;letter-spacing:-.042em;font-weight:820;
 overflow-wrap:anywhere;font-variant-numeric:tabular-nums;
}
.wealth-all-grid article:nth-child(2)>strong{color:var(--accent)}
.wealth-all-grid article>small{
 display:block;color:var(--muted);font-size:11px;
 font-variant-numeric:tabular-nums;
}
.wealth-income{
 margin-top:clamp(22px,4vh,34px);
 border:1px solid var(--line);
 border-radius:17px;
 background:var(--accent-soft);
 padding:clamp(16px,3.1vw,24px);
}
.wealth-income .wealth-extra-head h2{color:var(--text)}
.wealth-income-grid{
 display:block;width:100%;margin-top:16px;
 font-variant-numeric:tabular-nums;
}
.wealth-income-row{
 display:grid;
 grid-template-columns:minmax(49px,.5fr) minmax(0,1.2fr) minmax(0,1.2fr);
 align-items:center;column-gap:10px;
}
.wealth-income-row>*{min-width:0}
.wealth-income-row:first-child{
 align-items:start;padding-bottom:13px;
 border-bottom:1px solid var(--line);
}
.wealth-income-row:first-child>div{display:flex;flex-direction:column;gap:3px}
.wealth-income-row:first-child span:first-child,
.wealth-income-row:first-child strong{
 font-size:10px;line-height:1.4;font-weight:800;
 letter-spacing:.045em;color:var(--muted);
}
.wealth-income-row:first-child strong{color:var(--text)}
.wealth-income-row:first-child small{
 color:var(--muted);font-size:10px;line-height:1.3;
 white-space:normal;overflow-wrap:anywhere;
}
.wealth-income-row:first-child small:last-child{color:var(--accent)}
.wealth-income-row:not(:first-child){
 min-height:47px;padding:10px 0;
 border-bottom:1px solid var(--line);
}
.wealth-income-row:not(:first-child):last-child{border-bottom:0}
.wealth-income-row:not(:first-child)>span{
 color:var(--muted);font-size:11px;font-weight:800;
 letter-spacing:.055em;
}
.wealth-income-row:not(:first-child)>strong{
 color:var(--text);font-size:clamp(13px,1.65vw,17px);
 line-height:1.25;font-weight:780;letter-spacing:-.025em;
 overflow-wrap:anywhere;
}
.wealth-income-row:not(:first-child)>strong:last-child{color:var(--accent)}
.wealth-income-note{
 color:var(--muted);font-size:11px;line-height:1.65;
 margin:13px 0 0;
}
@media(max-width:620px){
 .wealth-all{margin-top:20px;padding-top:16px}
 .wealth-all-grid{gap:11px;margin-top:14px}
 .wealth-all-grid article>strong{font-size:clamp(17px,5vw,23px)}
 .wealth-all-grid article>span{font-size:9px}
 .wealth-income{margin-top:22px;padding:14px;border-radius:13px}
 .wealth-income-row{grid-template-columns:48px minmax(0,1fr) minmax(0,1fr);column-gap:6px}
 .wealth-income-row:first-child strong{font-size:9px;letter-spacing:0}
 .wealth-income-row:first-child small{font-size:9px}
 .wealth-income-row:not(:first-child)>strong{font-size:clamp(12px,3.15vw,15px)}
 .wealth-income-row:not(:first-child){min-height:45px}
}
@media(max-width:360px){
 .wealth-income{padding:12px 10px}
 .wealth-income-row{grid-template-columns:38px minmax(0,1fr) minmax(0,1fr);column-gap:4px}
 .wealth-income-row:not(:first-child)>strong{font-size:12px}
}
