html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 12px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.js-autogrow {
    overflow: hidden;
    resize: vertical;
    min-height: 2.25rem; /* ~ form-control height */
    max-height: 240px;
}


/* Keep every cell in the lines grid top-aligned */
#gr-lines > tr > td, #gr-lines > tr > th {
    vertical-align: top;
}

/* Reserve a small, consistent space for the friendly text under lookups
     so inputs don't "jump" when the label appears */
.lookup-ctl .form-text {
    min-height: 1.1rem; /* adjust 1.0–1.25rem to taste */
    margin-top: .25rem; /* small gap below the input */
}

    /* (Optional) avoid layout wobble if the link shows/hides */
    .lookup-ctl .form-text .js-details {
        display: inline-block;
    }