/* Keep the reversible actions together even when the percentage is long. */
body .budget-dialog .budget-quick-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch!important;
  gap:.55rem .6rem!important;
}
body .budget-dialog .budget-quick-actions .xl-budget-rate468{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:.4rem;
  margin:0;
  line-height:1.3;
  white-space:nowrap;
}
body .budget-dialog .budget-quick-actions .xl-budget-rate468 input[type="number"]{
  box-sizing:border-box;
  width:5.4rem!important;
  min-width:0!important;
  margin:0!important;
  padding:.34rem .45rem!important;
  font:inherit;
  font-variant-numeric:tabular-nums;
}
body .budget-dialog .budget-quick-actions > button:is([data-testid="budget-increase-30"],[data-testid="budget-decrease-30"]){
  display:block;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:2.4rem;
  height:auto;
  margin:0;
  padding:.42rem .5rem!important;
  border:1px solid var(--el-border-color,#d6e0de)!important;
  border-radius:.42rem!important;
  background:var(--el-fill-color-light,#f3f6f5)!important;
  color:var(--el-text-color-primary,#243c35)!important;
  font:inherit;
  font-variant-numeric:tabular-nums;
  line-height:1.25;
  text-align:center;
  white-space:normal;
}
body .budget-dialog .budget-quick-actions > button[data-testid="budget-increase-30"]{
  border-color:var(--el-color-primary-light-7,#c3d7ce)!important;
  background:var(--el-color-primary-light-9,#eaf3ee)!important;
  color:var(--el-color-primary-dark-2,#235844)!important;
}
body .budget-dialog .budget-quick-actions > button:is([data-testid="budget-increase-30"],[data-testid="budget-decrease-30"]):enabled:hover{
  border-color:var(--el-color-primary,#376552)!important;
}
body .budget-dialog .budget-quick-actions > button:is([data-testid="budget-increase-30"],[data-testid="budget-decrease-30"]):focus-visible{
  outline:2px solid var(--el-color-primary,#376552);
  outline-offset:2px;
}
body .budget-dialog .budget-quick-actions > button:is([data-testid="budget-increase-30"],[data-testid="budget-decrease-30"]):disabled{
  opacity:.5;
  cursor:not-allowed;
}
body .budget-dialog .budget-quick-actions .xl-budget-rate-note468{
  grid-column:1/-1;
  line-height:1.45;
  white-space:normal;
}
@media(max-height:600px){
  body .budget-modal .budget-dialog{
    box-sizing:border-box;
    max-height:calc(100vh - 20px)!important;
    max-height:calc(100dvh - 20px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }
}
