.investment-panel{position:absolute;z-index:35;right:2%;top:11%;width:min(510px,94%);max-height:79%;overflow:auto;padding:28px;border:2px solid #d6b56e;box-shadow:0 18px 55px #173f5260}
.investment-panel h2{margin:8px 0 16px}.investment-ledger{display:grid;grid-template-columns:1fr 1fr;gap:12px 22px;margin:14px 0}.investment-ledger dt{font-size:.82rem;color:#456b70}.investment-ledger dd{margin:3px 0;font-size:1.4rem;font-weight:800;font-variant-numeric:tabular-nums}.investment-controls{display:grid;gap:9px}.investment-controls label{font-weight:700}.investment-controls input,.investment-controls select,.mode-choice select{font:inherit;padding:11px;border:2px solid #a7c5b7;border-radius:10px;background:#fffef7;color:#173f52;width:100%;box-sizing:border-box}.investment-buttons{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}.investment-panel details{font-size:.85rem;margin-top:12px}.investment-panel table{width:100%;border-collapse:collapse;font-size:.8rem}.investment-panel th,.investment-panel td{padding:6px 2px;border-bottom:1px solid #d4ddcb;text-align:right}.investment-panel th:first-child,.investment-panel td:first-child{text-align:left}.investment-history{padding-left:18px;font-size:.85rem}.mode-choice{display:block;margin:12px 0}.mode-choice span{display:block;font-weight:700;margin-bottom:5px}@media(max-height:760px){.investment-panel{top:5%;max-height:83%;padding:18px}.investment-ledger{gap:7px 18px}}
