.wealth-shell { max-width: 1120px; min-width: 0; margin: 0 auto; }
.wealth-card { min-width: 0; padding: 3rem 2.5rem; margin-bottom: 2rem; }
.wealth-lede { color: var(--muted-light); font-size: 1.08rem; line-height: 1.75; max-width: 850px; }
.wealth-rule { border: 0; border-top: 1px solid rgba(255,255,255,.1); margin: 2rem 0; }
.wealth-mode { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 11px; background: rgba(255,255,255,.06); }
.wealth-mode button { border: 0; border-radius: 8px; padding: .72rem 1.05rem; background: transparent; color: var(--muted-light); font: inherit; font-weight: 650; cursor: pointer; }
.wealth-mode button.active { color: white; background: linear-gradient(135deg,var(--secondary-color),#5c6bc0); box-shadow: 0 5px 18px rgba(30,136,229,.25); }
.wealth-controls { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1.25rem; margin-top: 1.7rem; align-items: end; }
.wealth-control label { display: block; margin-bottom: .55rem; color: var(--text-light); font-size: .88rem; font-weight: 650; }
.wealth-control select,.wealth-control input { width: 100%; box-sizing: border-box; min-height: 47px; border: 1px solid rgba(255,255,255,.17); border-radius: 9px; background: rgba(255,255,255,.055); color: var(--text-light); padding: .7rem .82rem; font: inherit; font-variant-numeric: tabular-nums; }
.wealth-control select:focus,.wealth-control input:focus { outline: none; border-color: var(--secondary-color); box-shadow: 0 0 0 3px rgba(30,136,229,.16); }
.wealth-control select option { background: #101725; color: #d7dee7; }
.wealth-input-wrap { position: relative; }
.wealth-prefix { position: absolute; left: .82rem; top: 50%; transform: translateY(-50%); color: var(--accent-color); font-weight: 750; pointer-events: none; }
.wealth-input-wrap input { padding-left: 3.25rem; }
.wealth-callout { display: none; margin: 1.2rem 0 0; padding: .8rem 1rem; border: 1px solid rgba(255,193,7,.28); border-radius: 8px; background: rgba(255,193,7,.07); color: #d8c58a; font-size: .84rem; line-height: 1.55; }
.wealth-callout.show { display: block; }
.wealth-loading { color: var(--muted-light); margin: 2.25rem 0; text-align: center; }
.wealth-results { display: none; margin-top: 2.4rem; }
.wealth-results.show { display: block; }
.wealth-result-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.25rem; }
.wealth-result-main,.wealth-result-meta { border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.025); padding: 1.45rem 1.55rem; }
.wealth-eyebrow { color: var(--muted-light); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 750; }
.wealth-big { color: white; font-size: clamp(2.35rem,6vw,4.3rem); line-height: 1.02; letter-spacing: -.045em; margin: .5rem 0 .7rem; font-variant-numeric: tabular-nums; }
.wealth-ci { color: var(--accent-color); font-size: 1rem; font-weight: 650; }
.wealth-rank { color: var(--muted-light); font-size: .9rem; margin: .85rem 0 0; line-height: 1.55; }
.wealth-meta-row { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .85rem; }
.wealth-meta-row:last-child { border-bottom: 0; }
.wealth-meta-row span:first-child { color: var(--muted-light); }
.wealth-meta-row span:last-child { color: var(--text-light); text-align: right; font-weight: 650; }
.wealth-benchmarks { display: grid; grid-template-columns: repeat(3,1fr); gap: .9rem; margin: 1.15rem 0; }
.wealth-benchmark { border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: .9rem 1rem; background: rgba(255,255,255,.02); }
.wealth-benchmark span { display: block; color: var(--muted-light); font-size: .75rem; margin-bottom: .28rem; }
.wealth-benchmark strong { color: var(--text-light); font-size: .94rem; }
.wealth-chart-wrap { height: 860px; margin-top: 1.3rem; padding: 1rem .7rem; border-radius: 12px; background: rgba(255,255,255,.018); }
.wealth-warning { margin-top: 1rem; color: #d8c58a; font-size: .8rem; line-height: 1.55; }
.wealth-note { color: var(--muted-light); font-size: .88rem; line-height: 1.75; margin-top: 1.6rem; }
.wealth-note strong { color: var(--text-light); }
@media (max-width: 900px) { .wealth-controls { grid-template-columns: 1fr 1fr; } .wealth-result-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .content-section { padding-left: .75rem; padding-right: .75rem; } .wealth-card { padding: 2rem 1.15rem; } .wealth-card .mercurius-title { overflow-wrap: anywhere; line-height: 1.25; } .wealth-mode { width: 100%; } .wealth-mode button { padding: .65rem .4rem; font-size: .82rem; } .wealth-controls { grid-template-columns: 1fr; } .wealth-benchmarks { grid-template-columns: 1fr; } .wealth-chart-wrap { height: 780px; } }
