/* Functional additions only; the original theme remains in styles.css. */
button[aria-busy="true"] { cursor: wait; }
.modal-content { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; max-height: calc(100dvh - 32px); }
.modal-content .modal-body { min-height: 0; }
.modal-content .modal-header { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: start; gap: 12px; }
.modal-header > div { min-width: 0; }
.modal-header > .icon-button { flex: 0 0 40px; width: 40px; height: 40px; }
.season-selector { display: flex; align-items: center; gap: 10px; max-width: 340px; }
details.form-control > summary { cursor: pointer; padding: 10px 0; color: var(--navy-950); font-weight: 650; }
details .form-grid { padding: 10px 0; }
[hidden] { display: none !important; }
#repeat-weekdays { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0; }
.mobile-menu-sheet { display: none; }
.connection-state { max-width: 500px; margin: 15vh auto; padding: 24px; }
.management-branches .branch-card { cursor: pointer; text-align: left; border-radius: 8px; }
.management-branches .branch-card h2 { font-size: 20px; margin: 0; }
.management-branches .branch-card:focus-visible { outline: 3px solid var(--navy-800); outline-offset: 3px; }
.list-pagination { justify-content: flex-end; margin: 16px 0; }
.report-filters { grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); }
.report-tabs { display: flex; flex-wrap: wrap; margin-bottom: 16px; }
#athlete-table .data-table, #team-list .data-table, #dues-list .data-table { margin-top: 16px; }
@media (max-width: 820px) {
  .user-chip { display: flex; grid-column: 1; grid-row: 2; }
  .user-chip img { width: 28px; height: 28px; }
  .user-chip strong { font-size: 12px; }
  .user-chip span { font-size: 10px; }
  .top-header > [data-action="logout"] { grid-column: 2; grid-row: 1; }
  .mobile-menu-sheet { position: fixed; display: grid; gap: 8px; bottom: 84px; left: 12px; right: 12px; max-height: 72dvh; overflow-y: auto; padding: 16px; background: #fff; z-index: 80; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 0 0 100vmax #152c3655; }
  .mobile-menu-sheet button { justify-content: flex-start; }
}
