/* Film tax credit calculator. Builds on cancon.css (form, cards, lock box: class castv-cc on the same section) and toolbox/funding css. */
.castv-tc .tc-field{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,220px);gap:6px 14px;align-items:center;padding:8px 0;border-top:1px solid var(--tb-line)}
.castv-tc .tc-field label{margin:0;font-size:14px;font-weight:700}
.castv-tc .tc-field small{display:block;font-weight:400;font-size:12px;color:var(--tb-muted)!important}
.castv-tc .tc-money{display:flex;align-items:center;gap:6px}
.castv-tc .tc-money span{color:var(--tb-muted)!important;font-size:14px}
.castv-tc input[type=number]{width:100%;max-width:100%;padding:8px 10px;border:1px solid var(--tb-line);border-radius:7px;background:#222;font:inherit;font-size:14px;font-variant-numeric:tabular-nums}
html .castv-tc .cc-form input[type=number]{color:#bebe9d!important;background-color:#222!important}
.castv-tc input[type=number]:focus-visible{outline:2px solid var(--tb-ink);outline-offset:2px}
.castv-tc .tc-inline{gap:10px 18px}
.castv-tc .tc-small{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:700}
.castv-tc .tc-small input{width:90px}
.castv-tc .tc-bonuses{margin-top:10px}
.castv-tc .tc-bonuses .cc-check{line-height:1.4}
.castv-tc .tc-route{margin:0 0 18px}
.castv-tc .tc-route-h{margin:6px 0 10px;font-size:15px;text-transform:uppercase;letter-spacing:.03em}
.castv-tc .tc-total{border-color:var(--tb-red)!important;background:var(--tb-red-soft)}
.castv-tc .tc-step{border-top:1px solid var(--tb-line);padding:8px 0}
.castv-tc .tc-step summary{cursor:pointer;font-weight:700}
.castv-tc .tc-step ul{margin:8px 0;padding-left:1.2em}
.castv-tc .tc-step li{font-size:14px;margin:0 0 4px}
.castv-tc .tc-rates td:last-child{white-space:nowrap}
@media(max-width:600px){
  .castv-tc .tc-field{grid-template-columns:1fr}
  .castv-tc .tc-rates td:last-child{white-space:normal}
}
