/* Keep the open budget dialog above sticky page controls, including on mobile. */
#t-budget:has(#t-modal.open) {
  isolation: auto;
}

#t-budget.kg.kg-tools2 #t-modal.open {
  z-index: 10001;
}

#t-budget #t-modal .t-modal__box {
  max-height: min(92vh, calc(100dvh - 32px));
}

#t-budget #t-pseason::placeholder,
#kgk-main #project_season::placeholder {
  color: var(--t-muted, #b8c4d5);
  opacity: 1;
}

@media (max-width: 480px) {
  #t-budget #t-step-bane > .t-inline {
    grid-template-columns: minmax(0, 1fr);
  }
}
