.ub-cash .ub-pricing-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ub-cash .ub-pricing-stats > div:nth-child(2) { order: 0; grid-column: auto; min-height: 62px; padding: 8px 11px; }
.ub-cash .ub-pricing-stats > div:nth-child(2) dd { font-size: clamp(15px, 2vw, 25px); }
.ub-cash[data-shortfall] .ub-pricing-stats > div:nth-child(2) { background: #803047; }
.ub-cash-insight { margin: 0 0 8px; color: #424c66; font-size: 13px; line-height: 1.4; }
.ub-cash [data-daily] dt small { display: block; color: #515c77; }
@media (max-width: 710px) {
  .ub-cash .ub-pricing-stats > div, .ub-cash .ub-pricing-stats > div:nth-child(2) { padding: 6px; }
  .ub-cash .ub-pricing-stats dd, .ub-cash .ub-pricing-stats > div:nth-child(2) dd { font-size: clamp(12px, 3.6vw, 19px); }
}
.ub-cash-chart { display: block; width: 100%; max-height: 110px; background: #f6f7fd; border-radius: 8px; }
.ub-cash-chart[hidden] { display: none; }
.ub-cash-chart line { stroke: #8490ae; stroke-width: 1; stroke-dasharray: 4 3; }
.ub-cash-chart polyline { fill: none; stroke: #5444dc; stroke-width: 2.5; stroke-linejoin: round; }
.ub-cash[data-shortfall] .ub-cash-chart polyline { stroke: #a33e5e; }
.ub-cash-axis { display: flex; justify-content: space-between; color: #515c77; font-size: 11px; margin: 4px 0 8px; }
.ub-cash .ub-pricing-inputs details .ub-pricing-fields { margin-top: 6px; }
.ub-cash-alert { margin-bottom: 10px; padding: 10px 12px; border: 1px solid #c8ded5; border-radius: 10px; background: #edf7f2; color: #18493b; }
.ub-cash[data-shortfall] .ub-cash-alert { border-color: #efccd6; background: #fff0f3; color: #7b2843; }
.ub-cash-alert > span { display: block; font-size: 11px; font-weight: 750; }
.ub-cash-alert > strong { display: block; margin-block: 3px; font-size: clamp(16px, 3vw, 23px); }
.ub-cash-alert .ub-cash-insight { margin: 0; font-size: 12px; }
.ub-cash .ub-cash-decisions { margin-bottom: 8px; }
.ub-cash-chart [data-negative] { fill: #f5cbd8; }
.ub-cash-chart [data-quincena] { stroke: #8871bb; }

.ub-cash .ub-pricing-stats > div { min-width: 0; }
.ub-cash .ub-pricing-stats dd,
.ub-cash .ub-pricing-stats > div:nth-child(2) dd {
  font-size: clamp(12px, 1.55vw, 22px);
  letter-spacing: -.025em;
  white-space: nowrap;
  overflow-wrap: normal;
}
.ub-cash-alert > strong { overflow-wrap: anywhere; }
@media screen and (max-width: 710px) {
  .ub-cash .ub-pricing-stats { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ub-cash .ub-pricing-stats > div,
  .ub-cash .ub-pricing-stats > div:nth-child(2) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 5px 9px;
  }
  .ub-cash .ub-pricing-stats dt { font-size: 11px; }
  .ub-cash .ub-pricing-stats dd,
  .ub-cash .ub-pricing-stats > div:nth-child(2) dd {
    font-size: clamp(12px, 4vw, 17px);
    text-align: right;
  }
  .ub-cash .ub-pricing-breakdown > div { grid-template-columns: minmax(0, 1fr) auto; }
  .ub-cash .ub-pricing-breakdown dd { white-space: nowrap; }
}
