/* 沿用共用計算元件，只補現金流排列與長數字換行。 */
.roi-tool input, .roi-tool select { min-width: 0; max-width: 100%; }
.roi-tool .total-box strong { overflow-wrap: anywhere; }
.roi-flow { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; border-bottom: 1px dashed var(--line); padding-bottom: 12px; }
.roi-flow .btn { margin-bottom: 10px; }
.roi-tool summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.roi-tool [hidden] { display: none !important; }
@media (max-width: 600px) {
  .roi-flow { grid-template-columns: 1fr; gap: 0; }
  .roi-flow .btn { justify-self: start; }
}
