.navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.page-body {
    min-height: calc(100vh - 140px);
}

.offcanvas .nav-link {
    padding: 0.75rem 0;
}

/* Roster resize handle */
.roster-resize-handle {
    display: inline-block;
    width: 6px;
    min-height: 1.2em;
    cursor: col-resize;
    background: transparent;
    border-left: 2px solid transparent;
    margin-left: 4px;
    flex-shrink: 0;
}

.roster-resize-handle:hover,
.roster-resize-handle:focus {
    border-left-color: var(--tblr-primary, #206bc4);
    outline: none;
}

/* Fixed actions column */
.roster-actions-col {
    white-space: nowrap;
}

/* Activity Search field proportions (Requirement 4.20).
   Proportional, responsive min-widths — not equal-width and not arbitrary
   fixed widths. The wide Note field flexes to take remaining row width while
   the compact and medium fields keep sensible minimums so all controls stay
   usable at small viewports. */
.activity-search-compact {
    min-width: 8rem;
}

.activity-search-medium {
    min-width: 11rem;
}

.activity-search-wide {
    flex: 1 1 20rem;
    min-width: 16rem;
}

/* Content-sized Activity Search submit (Requirement 4.19). */
.activity-search-submit {
    width: auto;
}

/* Activity Current Within compact controls (Requirement 5.11).
   The window select only needs to fit its six options; keep it content-based
   rather than stretched across a full column. */
.activity-window-select {
    width: auto;
    min-width: 8rem;
    max-width: 12rem;
}

.activity-window-save {
    width: auto;
}

/* Add Activity form controls (Requirements 2.12, 2.13).
   Content-sized submit, compact Activity Type select (wide enough for
   "Lounge Check-In" plus padding/arrow), and flexible Notes field. */
.add-activity-submit {
    width: auto;
}

.activity-type-select {
    width: auto;
    min-width: 12rem;
    max-width: 16rem;
}

/* Add Activity Notes: multi-line textarea taking the remaining column width,
   wrapping text, and resizing vertically only so it grows down rather than
   widening the page. It stays within the activities panel/table container and
   does not introduce horizontal page scrolling (Requirements 2.14, 2.16). */
.add-activity-notes-wrap {
    min-width: 12rem;
}

.activity-notes-textarea {
    width: 100%;
    min-height: 6rem;
    resize: vertical;
}

/* Visible activity-history table column proportions (Requirement 10.10).
   Four visible columns: Date, Activity Type, Activity Note, Logged By.
   Date/Activity Type compact, Logged By medium, Activity Note flexible
   taking most of the remaining width. Responsive/content-sized — not arbitrary
   large fixed widths; the table stays inside a .table-responsive wrapper. */
.ah-col-date,
.ah-col-type {
    width: 1%;
    white-space: nowrap;
}

.ah-col-loggedby {
    min-width: 9rem;
}

.ah-col-note {
    width: auto;
    min-width: 12rem;
    white-space: normal;
}

/* Constrain the history table to roughly the Add Activity work area width:
   full width on small screens, bounded on desktop so the right edge finishes
   near the Add Activity textarea and the page never scrolls horizontally. */
.activity-history-wrap {
    width: 100%;
    max-width: 48rem;
}
