/* The diversification calculator's own styles, after the shared ../css/tool.css. Colour keeps the essay's meaning: red = riding on
   one company (what a collapse takes), green = spread out / not riding on it, yellow = your money. */
.tc-money input[type="number"] { -moz-appearance: textfield; }
.tc-money input::-webkit-outer-spin-button, .tc-money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; width: 100%; box-sizing: border-box; border-radius: 16px; }
.seg2 button { border-radius: 12px; white-space: normal; }
.tc-field[hidden] { display: none; }
#pay-f .seg2 { margin-top: 10px; }
.tc-in > .tc-try { margin-top: 4px; }

/* where your savings are */
.tc-bar .one { background: var(--red); } .tc-bar .rest { background: var(--green); }
.tc-legend .sw-one { background: var(--red); } .tc-legend .sw-rest { background: var(--green); }
.tc-parts.why { margin-top: 14px; }

/* the story's "one company fails / the market falls" switch sits in a card, above its slider */
.card .seg2 { margin: 4px 0 12px; }

/* the working card and the scoreboard: money in dark yellow, as on the sheet */
.hud-card .yellow { color: #a8740a; }
.mt .apr + .apr { margin-left: 2px; }
