.compound-page{max-width:1160px;margin:0 auto;padding:clamp(24px,4vw,52px) clamp(12px,3vw,36px)}.compound-page .tool-heading{margin-bottom:24px;padding:0}.compound-layout{grid-template-columns:minmax(0,4fr) minmax(0,5fr);align-items:start;gap:20px;display:grid}.compound-card{border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:0}.compound-card h2,.compound-chart figcaption{letter-spacing:-.02em;margin:0;font-size:18px;font-weight:650}.compound-form,.compound-summary{padding:clamp(18px,2.3vw,30px)}.compound-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0;display:grid}.compound-form .field{margin:0}.compound-form .number-control,.compound-form .number-control input{width:100%}.compound-form .number-control input{padding-block:11px}.compound-form .field-label,.compound-form legend{color:var(--text);font-size:14px}.compound-form fieldset{border:0;min-width:0;margin:22px 0 24px;padding:0}.compound-form legend{margin-bottom:6px}.compound-form p,.compound-pending{color:var(--muted);font-size:13px}.compound-form p{margin:6px 0 0}.compound-form .primary{padding:9px 22px;font-size:14px}.compound-pending{margin:8px 0 0 10px;display:inline-block}.compound-timing{grid-template-columns:1fr 1fr;gap:8px;display:grid}.compound-timing label{border:1px solid var(--border);cursor:pointer;border-radius:5px;align-items:center;gap:7px;padding:10px;font-size:14px;display:flex}.compound-timing input{accent-color:var(--accent);margin:0}.compound-timing label:has(:checked){background:var(--outcome-tint);border-color:var(--accent)}.compound-summary{background:var(--outcome-tint);border-radius:9px 9px 0 0}.compound-summary h2{color:var(--accent);font-size:15px}.compound-amount{letter-spacing:-.05em;overflow-wrap:anywhere;margin:6px 0 0;font-size:clamp(32px,3.75vw,52px);font-weight:700;line-height:1.15}.compound-horizon{margin:6px 0 0;font-size:14px}.compound-breakdown,.compound-chart{margin:0 clamp(18px,2.3vw,30px)}.compound-breakdown{grid-template-columns:1fr 1fr;gap:12px;padding-block:20px;display:grid}.compound-breakdown dt,.compound-legend{color:var(--muted);font-size:13px}.compound-breakdown dd{overflow-wrap:anywhere;margin:3px 0 0;font-size:19px;font-weight:620}.compound-chart{border-top:1px solid var(--border);padding:18px 0 22px}.compound-chart figcaption{font-size:16px}.compound-plot{color:var(--muted);grid-template-rows:140px auto;grid-template-columns:auto minmax(0,1fr);gap:5px 10px;margin:14px 0 8px;font-size:11px;display:grid}.compound-y-axis,.compound-x-axis{justify-content:space-between;display:flex}.compound-y-axis{flex-direction:column;align-items:flex-end;margin-block:-.5em;line-height:1}.compound-x-axis{grid-column:2}.compound-plot svg{width:100%;height:100%;overflow:visible}.compound-plot svg line,.compound-plot svg polyline{vector-effect:non-scaling-stroke}.compound-gridline{stroke:var(--grid)}.compound-balance-line{stroke:var(--accent);stroke-width:2.5px;fill:none}.compound-deposit-line{stroke:var(--muted);stroke-width:1.5px;stroke-dasharray:5 4}.compound-legend{flex-wrap:wrap;gap:18px;display:flex}.compound-legend span{align-items:center;gap:6px;display:inline-flex}.compound-legend span:before{content:"";border-top:2px solid var(--accent);width:18px}.compound-legend span+span:before{border-top:2px dashed var(--muted)}@media (max-width:740px){.compound-layout{padding-bottom:calc(80px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr)}.compound-layout.mobile-configuration>.compound-results,.compound-layout.mobile-results>.compound-form,.compound-form button[type=submit],.compound-form .compound-pending{display:none}.compound-form fieldset{margin-bottom:0}}@media not (max-width:740px){.compound-layout>.mobile-navigation{display:none}}
