/* Finance only: keep the existing tabs within their row on narrow screens. */
@media (max-width: 760px) {
  .student-finance [role="tablist"] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    height: auto !important;
    min-height: 0;
    align-items: stretch;
    gap: .35rem;
    padding: .35rem;
    overflow: visible;
  }
  .student-finance [role="tablist"] [role="tab"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 2.75rem;
    padding: .6rem .45rem;
    white-space: normal;
    line-height: 1.45;
  }
  .student-finance [role="tabpanel"] { min-width: 0; }
}
