/* Keep the desktop table visible; offer a disclosure on phones only. */
.budget-disclosure { min-width: 0; }
.budget-mobile-toggle { display: none; }
@media (max-width: 620px) {
  .budget-disclosure { border: 1px solid #6c8ba4; border-radius: 10px; }
  .budget-mobile-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; padding: 17px 16px; background: #f3f8fd; color: #122c46; border-radius: 9px; cursor: pointer; }
  .budget-mobile-toggle::-webkit-details-marker { display: none; }
  .budget-mobile-toggle:focus-visible { outline: 3px solid #f4ce46; outline-offset: 4px; }
  .budget-toggle-copy { display: grid; gap: 7px; min-width: 0; }
  .budget-toggle-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 600; letter-spacing: -.4px; }
  .budget-toggle-count { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; min-width: 28px; height: 24px; padding: 0 6px; border-radius: 6px; background: #dfedf8; color: #176f9d; font-size: 12px; letter-spacing: 0; }
  .budget-toggle-hint { font-size: 11px; color: #536b80; line-height: 1.5; }
  .budget-list-hide, .budget-disclosure[open] .budget-list-show { display: none; }
  .budget-disclosure[open] .budget-list-hide { display: inline; }
  .budget-mobile-toggle .programs-hand { width: 37px; height: 44px; flex-shrink: 0; overflow: visible; transition: transform .3s ease; }
  .budget-disclosure[open] > summary { border-radius: 9px 9px 0 0; }
  .budget-disclosure[open] > summary .programs-hand { transform: rotate(180deg); }
  .budget-disclosure .budget-table { padding: 20px 12px; }
}
@media (prefers-reduced-motion: reduce) { .budget-mobile-toggle .programs-hand { transition: none; } }
