:root {
  --bs-body-font-size: 14px;
  --nav-padding: 12px;
  font-size: var(--bs-body-font-size);
}

table {
  page-break-inside:auto;
}
tr {
  page-break-inside:avoid;
  page-break-after:auto;
}
input:focus + span {
  visibility: hidden;
}
.border-0.form-control {
  padding-inline: .125rem;
}
.form-control:not(.property-input):focus-visible {
  padding-inline: .375rem;
}
.expense-input:focus-visible {
  text-align: inherit;
}
.expense-input::placeholder {
  opacity: 0.4;
}
.expense-input[name="date"]:focus-visible {
  width: fit-content;
  z-index: 1;
}

.calendar-expense-item {
  cursor: pointer;
}

span.focused {
  outline: 2px solid red;
}
#items tr {
  outline: 1px solid transparent;
}
#items tr.focused {
  outline-color: red;
}

.border-dashed {
  border-style: dashed !important;
}

tr.sticky-top {
  top: calc(var(--bs-body-font-size) + (var(--nav-padding) * 2));
}

.badge {
  text-align: left;
}

@media (min-width: 992px) {
  .vh-lg-100 {
    height: 100vh;
  }
  .overflow-y-scroll-lg {
    overflow-y: scroll;
  }
}
@media (min-width: 1200px) {
  .vh-xl-100 {
    height: 100vh;
  }
  .overflow-y-scroll-xl {
    overflow-y: scroll;
  }
  .nav {
    display: none !important;
  }
  .tab-content .tab-pane {
    display: initial !important;
  }
  tr.sticky-top {
    top: 0;
  }
}
