/* Two-column shell mirroring /matches: a page-owned sidebar (full
 * viewport height, --surface-elevated) flush to the viewport's left
 * edge, and a content column that owns its own centered gutter. The
 * AppLayout header is hidden via `usePageHeader({ hidden: true })` so
 * the sidebar reads as one unified column from top to bottom. Keep
 * this recipe in lock-step with `src/matches/MatchesPage.module.css`. */
._page_4txmt_7 {
  width: 100%;
  display: flex;
  align-items: stretch;
  /* The global app header (var(--header-height-app)) now sits above the
   * page on every viewport, so the page fills the remaining viewport. */
  min-height: calc(100svh - var(--header-height-app));
  animation: _pageEnterFade_4txmt_1 var(--page-enter-duration) var(--page-enter-ease)
    both;
}

._sidebar_4txmt_18 {
  flex-shrink: 0;
  width: var(--left-sidebar-width);
  background: var(--surface-elevated);
  border-right: var(--border-hairline) solid var(--section-border-faint);
  position: sticky;
  /* Pin below the sticky app header instead of overlapping it. */
  top: var(--header-height-app);
  align-self: flex-start;
  height: calc(100svh - var(--header-height-app));
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) var(--space-lg) var(--space-lg);
  gap: var(--space-sm);
  box-sizing: border-box;
  z-index: var(--z-header);
  animation: _pageEnterRise_4txmt_1 var(--page-enter-duration) var(--page-enter-ease)
    both;
}

._content_4txmt_40 {
  flex: 1;
  min-width: 0;
  max-width: 1340px;
  margin-inline: auto;
  padding: var(--space-md) var(--space-2xl) var(--space-2xl);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

._content_4txmt_40 > * {
  animation: _pageEnterRise_4txmt_1 var(--page-enter-duration) var(--page-enter-ease)
    both;
}

._content_4txmt_40 > *:nth-child(1) {
  animation-delay: calc(var(--page-enter-stagger) * 1);
}
._content_4txmt_40 > *:nth-child(2) {
  animation-delay: calc(var(--page-enter-stagger) * 2);
}
._content_4txmt_40 > *:nth-child(3) {
  animation-delay: calc(var(--page-enter-stagger) * 3);
}
._content_4txmt_40 > *:nth-child(n + 4) {
  animation-delay: calc(var(--page-enter-stagger) * 4);
}

@media (max-width: 1279.98px) /* BP_TABLET */ {
  ._content_4txmt_40 {
    padding: var(--space-sm) var(--space-xl) var(--space-2xl);
  }
}

/* ── Mobile (≤BP_COMPACT): nav moves into a slide-in drawer ── */

/* Section nav is hidden by default on every viewport at the
 * .mobilePageTitle / .sectionsToggle / .sectionsDrawer level — they're
 * gated by `isCompact` in the React tree, so the elements only mount
 * on mobile. Outside-media `display: none` is defensive against any
 * transient frame during resize. */
._mobilePageTitle_4txmt_78,
._sectionsToggle_4txmt_78,
._sectionsBackdrop_4txmt_84,
._sectionsDrawer_4txmt_78 {
  display: none;
}

@media (max-width: 900px) /* BP_COMPACT */ {
  /* Page no longer has an in-page sidebar on mobile — content fills
   * the viewport, the global app header (re-shown by usePageHeader)
   * carries the section title + sections-picker. The desktop
   * `min-height: 100svh` is there only so the sticky sidebar's elevated
   * surface fills the viewport on near-empty sub-pages — with no
   * sidebar in this layout it just adds one header's height of extra
   * scroll, so we drop it. */
  ._page_4txmt_7 {
    flex-direction: column;
    min-height: 0;
  }

  ._content_4txmt_40 {
    /* Bottom padding was --space-3xl (~80px here) — far too much for a
     * phone, and enough to push an otherwise-fitting section past the
     * viewport (below the 56px header) into a needless document scroll.
     * Trim to a normal mobile gutter. */
    padding: var(--space-md) var(--space-md) var(--space-lg);
    /* At compact the page is a column flex, so `.content`'s desktop
     * `margin-inline: auto` lands on the cross axis and (per flexbox)
     * disables `align-items: stretch` — the column shrink-wraps to its
     * content instead of filling the viewport. Most sections survive
     * because their content has intrinsic width; the Activity Log's
     * AutoSizer'd virtual list has zero intrinsic width and collapses to
     * 0 (then AutoSizer feeds the list a garbage width). A definite
     * width collapses the auto margins to 0 and restores full width. */
    width: 100%;
  }

  /* Mobile page title rendered into HeaderLead — name of the current
   * section so the user knows what they're looking at. */
  ._mobilePageTitle_4txmt_78 {
    display: block;
    margin: 0;
    font-family: var(--font);
    font-size: var(--font-size-base);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-snug);
    /* Ellipsis when the section name is long so it can't shove the
     * header actions off the bar. */
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Sections-picker button in HeaderSlot — 36×36 icon-only, opens the
   * sections drawer. Matches the canonical mobile icon-button recipe
   * used by MatchesPage `.headerFilterButton` and others. */
  ._sectionsToggle_4txmt_78 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    background: transparent;
    border: var(--border-hairline) solid var(--section-border-faint);
    border-radius: var(--radius-default);
    color: var(--text-accent);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: background-color 0.15s ease;
    /* Always the rightmost control in the header slot — sits after the
     * section's action buttons (Upload CSV, Refresh, …), which share the
     * slot via SettingsHeaderActions and default to order 0. */
    order: 1;
  }
  ._sectionsToggle_4txmt_78:hover {
    background: var(--surface-accent-tint);
  }
  ._sectionsToggle_4txmt_78:focus-visible {
    outline: var(--border-emphasis) solid var(--text-accent);
    outline-offset: var(--border-emphasis);
  }
  ._sectionsToggle_4txmt_78[aria-expanded="true"] {
    background: var(--surface-accent-tint);
    border-color: var(--text-accent);
  }

  /* Drawer backdrop — visibility-delayed close so the slide-out
   * animation has time to finish before the backdrop becomes inert. */
  ._sectionsBackdrop_4txmt_84 {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--modal-backdrop);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease-out, visibility 0s 220ms;
    z-index: var(--z-drawer-backdrop);
  }
  ._sectionsBackdropOpen_4txmt_188 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 220ms ease-out, visibility 0s 0s;
  }

  /* Drawer panel — slides in from the right. Hosts the same
   * `sectionNav` JSX that the desktop sidebar uses, so a single source
   * of section markup serves both layouts. Closed state: offscreen +
   * inert (the inert attribute is set on the JSX, so descendant focus
   * is killed automatically — §2e). */
  ._sectionsDrawer_4txmt_78 {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 88vw);/* deliberate display literal */
    background: var(--surface-elevated);
    border-left: var(--border-hairline) solid var(--section-border-faint);
    transform: translateX(100%);
    transition: transform 220ms ease-out;
    z-index: var(--z-drawer);
    /* The aside itself does NOT scroll — only the inner list does — so the
     * floated close button stays pinned regardless of scroll position. */
    overflow: hidden;
    padding: var(--space-md) var(--space-md) var(--space-lg);
    box-sizing: border-box;
  }
  ._sectionsDrawerOpen_4txmt_219 {
    transform: translateX(0);
  }

  /* The scrolling region — the close button overlays this and stays put
   * because it lives on the non-scrolling aside, not in here. */
  ._sectionsDrawerScroll_4txmt_225 {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    /* Native vertical scroll of the section list; horizontal drags bubble
     * to the drawer's drag-to-close pointer handlers. */
    touch-action: pan-y;
  }

  /* No header/title row — the close button floats top-right so the section
   * list starts at the top of the drawer. */
  ._sectionsDrawerClose_4txmt_240 {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-md);
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: var(--radius-default);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  ._sectionsDrawerClose_4txmt_240:hover {
    background: var(--surface-accent-tint);
    color: var(--text-h);
  }
  ._sectionsDrawerClose_4txmt_240:focus-visible {
    outline: var(--border-emphasis) solid var(--text-accent);
    outline-offset: var(--border-emphasis);
  }
}

/* "Main" back-button — co-canonical with `MatchesPage.module.css :.mainButton`.
 * Sits at the top of the settings sidebar where the global AppLayout
 * header would otherwise show a hamburger. Full-width so it owns the
 * top of the rail. */
._mainButton_4txmt_268 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  margin: 0;
  padding: var(--space-xs) var(--space-sm);
  background: transparent;
  border: none;
  border-radius: var(--radius-default);
  font-family: var(--font);
  font-size: var(--font-size-sm);
  font-weight: var(--weight-medium);
  color: rgb(from var(--text-h) r g b / 0.75);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  text-align: left;
}

._mainButton_4txmt_268:hover {
  background: var(--surface-accent-tint);
  color: var(--text-h);
}

._mainButton_4txmt_268:focus-visible {
  outline: var(--border-emphasis) solid var(--text-accent);
  outline-offset: var(--border-emphasis);
}

._mainButtonIcon_4txmt_301 {
  width: 0.8rem;
  color: var(--text-accent);
  flex-shrink: 0;
}

/* In the app header (desktop) the Main button hugs its content instead of
 * filling the sidebar column width. */
._mainButtonInHeader_4txmt_309 {
  width: auto;
}

._sectionNav_4txmt_313 {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: var(--space-lg);
}

._sectionGroup_4txmt_320 {
  display: flex;
  flex-direction: column;
}

._sectionGroupLabel_4txmt_325 {
  font-family: var(--font);
  font-size: var(--font-size-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-disabled);
  margin: 0 0 var(--space-xs) var(--space-sm);
}

._sectionList_4txmt_335 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

._sectionLink_4txmt_344 {
  display: flex;
  align-items: center;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-default);
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--weight-medium);
  color: rgb(from var(--text-h) r g b / 0.85);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

._sectionLink_4txmt_344:hover {
  background: var(--surface-accent-tint);
  color: var(--text-h);
}

._sectionLink_4txmt_344:focus-visible {
  outline: var(--border-emphasis) solid var(--text-accent);
  outline-offset: var(--border-emphasis);
}

._sectionLinkActive_4txmt_368 {
  background: var(--surface-accent-tint);
  color: var(--text-accent);
}

._sectionLinkActive_4txmt_368:hover {
  background: rgb(from var(--text-accent) r g b / 0.16);
  color: var(--text-accent);
}

/* Single-section frame. Each section renders one Card at full width
 * inside this column. Wider than the old 3-column grid cell (~66rem
 * accommodates the User Management table and OperatingCosts breakdown
 * without horizontal scroll) but still capped so the content doesn't
 * stretch edge-to-edge on ultra-wide displays. */
._sectionShell_4txmt_383 {
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
  /* Let the column shrink so a wide descendant can't blow the whole
   * card past the viewport at 320px (the min width we support). */
  min-width: 0;
}

/* Settings sections are container-less. The card was an 80s-style
 * panel-on-page surface; we now ride directly on the page bg with
 * typography and whitespace doing the work. No background, no border,
 * no shadow. The Card component still exists as a structural / a11y
 * wrapper (it owns the sr-only section title) but it's visually
 * invisible. */
._card_4txmt_398 {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  min-width: 0;
}

._cardHead_4txmt_405 {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

/* Visually-hidden helper — same recipe as
 * `src/missions/MissionsPage.module.css :srOnly`. Element stays in the
 * accessibility tree (used for the Card title which is now sidebar-
 * redundant) but takes no visual space. */
._srOnly_4txmt_415 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;/* deliberate display literal */
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

._cardTitle_4txmt_427 {
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  margin: 0;
  letter-spacing: var(--tracking-snug);
}

/* With the visible section title removed, this is the page lede — the
 * one sentence that orients the user to what they're looking at. Bump
 * it up from chip-text to a quiet but present intro paragraph. */
._cardDescription_4txmt_439 {
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--weight-regular);
  color: var(--text-tertiary);
  margin: 0;
  line-height: var(--leading-normal);
  overflow-wrap: anywhere;
}

._cardBody_4txmt_449 {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
  min-width: 0;
}

._metaRow_4txmt_457 {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-md);
  align-items: center;
  font-size: var(--font-size-sm);
}

._metaLabel_4txmt_465 {
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  font-size: var(--font-size-2xs);
  font-weight: var(--weight-semibold);
  color: rgb(from var(--text-primary) r g b / 0.5);
  margin: 0;
}

._metaValue_4txmt_474 {
  color: var(--text-primary);
  margin: 0;
  overflow-wrap: anywhere;
}

/* Card-footer button. Metrics deliberately mirror `ConfirmButton.button` so
 * primary `<button>`s and `ConfirmButton`s sit side-by-side in `.cardFooter`
 * at identical heights. Don't drift from the ConfirmButton padding/font
 * without updating both. */
._actionButton_4txmt_484 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  align-self: flex-start;
  background: var(--text-accent);
  border: var(--border-hairline) solid var(--text-accent);
  color: var(--text-light);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-default);
  font-family: var(--font);
  font-size: var(--font-size-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-snug);
  cursor: pointer;
  transition:
    background-color 280ms cubic-bezier(0.32, 0.72, 0, 1),
    border-color 280ms cubic-bezier(0.32, 0.72, 0, 1),
    color 280ms cubic-bezier(0.32, 0.72, 0, 1);
}

._actionButton_4txmt_484:hover:not(:disabled) {
  background: var(--text-accent-soft);
  border-color: var(--text-accent-soft);
}

._actionButton_4txmt_484:focus-visible {
  outline: var(--border-emphasis) solid var(--text-accent);
  outline-offset: var(--border-emphasis);
}

._actionButton_4txmt_484:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* In-progress visual state — overrides the :disabled fade so the button
 * still reads as the live action it is, just with a spinning icon and a
 * stopwatch ticking inside it. The button stays HTML-disabled so a stray
 * click can't fire a duplicate refresh; aria-busy signals the progress
 * to assistive tech. */
._actionButton_4txmt_484._actionButtonBusy_4txmt_525:disabled {
  opacity: 1;
  cursor: progress;
}

._actionButtonIconSpin_4txmt_530 {
  animation: _actionButtonSpin_4txmt_1 0.9s linear infinite;
}

/* Success morph — the action button briefly turns green to confirm a
 * just-completed save. Stays HTML-disabled (so the auto-clear can revert
 * it without a click landing during the transition) but visually still
 * reads as the completed action. Used by the Automated Matching card
 * after `callUpdateAutoMatchConfig` resolves; auto-reverts to idle after
 * SAVE_OK_AUTOCLEAR_MS so no extra DOM grows the card height. */
._actionButton_4txmt_484._actionButtonSaved_4txmt_540:disabled,
._actionButton_4txmt_484._actionButtonSaved_4txmt_540 {
  background: var(--status-success);
  border-color: var(--status-success);
  color: var(--text-light);
  opacity: 1;
  cursor: default;
}

._actionButtonElapsed_4txmt_549 {
  font-family: var(--mono);
  font-weight: var(--weight-semibold);
  font-size: var(--font-size-xs);
  letter-spacing: var(--tracking-wide);
  font-variant-numeric: tabular-nums;
  margin-left: var(--space-xs);
  padding-left: var(--space-xs);
  border-left: var(--border-hairline) solid rgb(from var(--text-light) r g b / 0.3);
  color: rgb(from var(--text-light) r g b / 0.92);
}

/* Inline elapsed timer rendered as a sibling next to the in-flight
 * ConfirmButton. Lives on the card footer's scrim band, so the colors
 * are anchored to --text-primary (not the in-button --text-light). */
._refreshElapsedInline_4txmt_564 {
  font-family: var(--mono);
  font-weight: var(--weight-semibold);
  font-size: var(--font-size-xs);
  letter-spacing: var(--tracking-wide);
  font-variant-numeric: tabular-nums;
  color: var(--text-tertiary);
}

@keyframes _actionButtonSpin_4txmt_1 {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  ._actionButtonIconSpin_4txmt_530 {
    animation-duration: 3s;
  }
}

._actionGhost_4txmt_585 {
  background: transparent;
  color: var(--text-accent);
  border-color: var(--section-border-faint);
}

._actionGhost_4txmt_585:hover:not(:disabled) {
  background: var(--surface-accent-tint);
  border-color: var(--text-accent);
  color: var(--text-accent);
}

._switchRow_4txmt_597 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-xs) 0;
  border-bottom: var(--border-hairline) solid var(--section-border-faint);
  font-size: var(--font-size-sm);
}

._switchRow_4txmt_597:last-of-type {
  border-bottom: none;
}

._switchLabel_4txmt_611 {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

._switchTitle_4txmt_617 {
  color: var(--text-primary);
  font-weight: var(--weight-medium);
}

._switchHint_4txmt_622 {
  font-size: var(--font-size-xs);
  color: rgb(from var(--text-primary) r g b / 0.55);
}

._switch_4txmt_597 {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: var(--radius-default);
  border: none;
  background: rgb(from var(--text-primary) r g b / 0.18);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 260ms cubic-bezier(0.32, 0.72, 0, 1);
}

._switch_4txmt_597[aria-pressed="true"] {
  background: var(--text-accent);
}

._switchThumb_4txmt_643 {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--section-bg);
  transition: transform 280ms cubic-bezier(0.32, 0.72, 0, 1);
}

._switch_4txmt_597[aria-pressed="true"] ._switchThumb_4txmt_643 {
  transform: translateX(16px);
}

._switch_4txmt_597:focus-visible {
  outline: var(--border-emphasis) solid var(--text-accent);
  outline-offset: var(--border-emphasis);
}

/* User Management snapshot — list lives inside an `--surface-elevated`
 * envelope (mirrors the Matches `.missionCard` recipe) so the rows lift
 * visibly off the near-white page bg. Rows share a hairline divider; no
 * per-row border or shadow. The self row is anchored with an indigo
 * left rail + soft tint so the coordinator can find their own row
 * instantly without the surrounding chrome shouting at them. */
._userList_4txmt_669 {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface-elevated);
  border: var(--border-hairline) solid var(--section-border-faint);
  border-radius: var(--radius-default);
  overflow: hidden;
}

._userListItem_4txmt_681 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  /* `--section-line-faint` (#e0e0e0) reads clearly between rows;
   * `--section-border-faint` (#f0f0f0) was visually invisible.
   * Mirrors Matches `.unmatchedTable td`. */
  border-bottom: var(--border-hairline) solid var(--section-line-faint);
  min-width: 0;
  transition: background-color 200ms ease;
}

._userListItem_4txmt_681:last-child {
  border-bottom: none;
}

._userListItemClickable_4txmt_698 {
  cursor: pointer;
}

._userListItemClickable_4txmt_698:hover {
  background: var(--surface-accent-tint);
}

._userListItemClickable_4txmt_698:focus-visible {
  outline: var(--border-emphasis) solid var(--text-accent);
  outline-offset: calc(-1 * var(--border-emphasis));
}

/* Current-user row — indigo rail + soft tint anchors "this is you"
 * with the same accent the segmented controls and active nav use, so
 * the surface reads as part of one system. The rail is an `inset`
 * box-shadow rather than a border so the row's content stays aligned
 * with neighboring rows (no 3px shift). Horizontal padding matches the
 * base `.userListItem` so the avatar lines up across every row. */
._userListItemSelf_4txmt_717 {
  background: var(--surface-accent-tint);
  box-shadow: inset var(--rail) 0 0 var(--text-accent);
}

._userListItemSelf_4txmt_717._userListItemClickable_4txmt_698:hover {
  background: rgb(from var(--text-accent) r g b / 0.16);
}

._userAvatar_4txmt_726 {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--text-accent);
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: var(--font-size-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  text-transform: uppercase;
}

._userIdentity_4txmt_743 {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

._userIdentityRow_4txmt_751 {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-xs);
  min-width: 0;
}

._userEmail_4txmt_758 {
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

._userMeta_4txmt_769 {
  font-family: var(--font);
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Right-side action column. Reserved height keeps the row stable when
 * a toast replaces the pills + button after a sign-out. */
._userActions_4txmt_781 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  flex-shrink: 0;
  min-height: 1.7rem;
}

/* Mobile/tablet (≤BP_COMPACT) — stack the snapshot row so the pills
 * wrap to a second line, indented past the avatar to align with the
 * identity column. Mirrors the concept hand-off. */
@media (max-width: 900px) /* BP_COMPACT */ {
  ._userListItem_4txmt_681 {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "avatar identity"
      "spacer actions";
    column-gap: var(--space-sm);
    row-gap: var(--space-xs);
    align-items: start;
  }
  ._userAvatar_4txmt_726 {
    grid-area: avatar;
  }
  ._userIdentity_4txmt_743 {
    grid-area: identity;
  }
  ._userActions_4txmt_781 {
    grid-area: actions;
    justify-self: end;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

._userTable_4txmt_817 {
  display: flex;
  flex-direction: column;
}

/* User row — info-only (no avatar). Info contains name, email, then
 * a single action-row at the bottom that holds the icon buttons on
 * the left and the role + status pills flush right. When an action
 * emits a toast, the toast replaces the buttons IN PLACE so the row
 * never grows or shifts vertically. */
._userRow_4txmt_827 {
  padding: var(--space-sm) 0;
  border-bottom: var(--border-hairline) solid var(--section-border-faint);
  font-size: var(--font-size-sm);
}

._userRow_4txmt_827:last-of-type {
  border-bottom: none;
}

/* The current user's row — gentle gold tint and a left rail so it
 * reads as "this is you" without shouting. Breaks the row out to the
 * card's edges so the tint reaches all the way. */
._userRowSelf_4txmt_840 {
  background: rgb(from var(--text-accent) r g b / 0.07);
  margin: 0 -1.75rem;/* deliberate display literal */
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
  border-left: var(--rail) solid var(--text-accent);
  padding-left: calc(1.75rem - 3px);/* deliberate display literal */
}

/* Action row at the bottom of .userInfo. Reserved min-height matches
 * the small icon buttons so swapping buttons ↔ toast doesn't change
 * the row height. */
._userActionRow_4txmt_852 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
  min-height: 1.7rem;
}

._userPills_4txmt_861 {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex-shrink: 0;
}

._userRowActions_4txmt_869 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Inline status message that replaces the icon buttons after an
 * action completes. Sized to match the buttons' height so nothing
 * shifts. Truncates with ellipsis if the message is too long. */
._userActionMessage_4txmt_878 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  height: 1.7rem;
  padding: 0 var(--space-sm);
  border-radius: var(--radius-default);
  font-size: var(--font-size-xs);
  font-weight: var(--weight-medium);
  background: var(--surface-accent-secondary-tint);
  color: var(--text-accent-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  min-width: 0;
}

._userActionMessageError_4txmt_896 {
  background: rgb(from var(--status-urgent) r g b / 0.14);
  color: var(--status-urgent);
}

/* Plain icon button that mirrors the ConfirmButton sm+iconOnly sizing
 * but doesn't arm — used for navigations (e.g. opening the
 * set-password modal) where the modal itself is the confirmation. */
._rowIconButton_4txmt_904 {
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-default);
  background: var(--text-accent);
  color: var(--text-light);
  border: var(--border-hairline) solid var(--text-accent);
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    opacity 200ms ease;
}

._rowIconButton_4txmt_904:hover:not(:disabled) {
  background: color-mix(in srgb, var(--text-accent) 88%, var(--text-light));
  border-color: color-mix(in srgb, var(--text-accent) 88%, var(--text-light));
}

._rowIconButton_4txmt_904:focus-visible {
  outline: var(--border-emphasis) solid var(--text-accent);
  outline-offset: var(--border-emphasis);
}

._rowIconButton_4txmt_904:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* "you" badge sits inline next to the user's email on the self row.
 * Uses the indigo accent so it reads as part of the same system as
 * the self-row left rail and segmented-control active state. */
._youBadge_4txmt_939 {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--font-size-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  background: rgb(from var(--text-accent) r g b / 0.16);
  color: var(--text-accent);
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-default);
  vertical-align: middle;
  flex-shrink: 0;
}

._userInfo_4txmt_849 {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

._userName_4txmt_961 {
  font-weight: var(--weight-medium);
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

._userEmail_4txmt_758 {
  font-size: var(--font-size-xs);
  color: rgb(from var(--text-primary) r g b / 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tertiary line under email — presence beacon ("Last seen 2 min ago").
 * Lighter than email so the visual hierarchy is name → email → presence.
 * Uses tabular numerals so the time digit doesn't shift the row width
 * as the value ticks ("1 min" → "2 min"). */
._userLastSeen_4txmt_981 {
  font-size: var(--font-size-xs);
  color: rgb(from var(--text-primary) r g b / 0.42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-variant-numeric: tabular-nums;
  margin-top: var(--space-2xs);
}

._rolePill_4txmt_991 {
  font-size: var(--font-size-2xs);
  background: var(--surface-accent-tint);
  color: var(--text-accent);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-default);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  white-space: nowrap;
  justify-self: start;
}

/* Job title — neutral profile attribute, visible to everyone (it
 * replaces the role in user-facing chrome). Deliberately quieter than
 * the accent `.rolePill` so it doesn't read as a permission. */
._jobTitlePill_4txmt_1006 {
  font-size: var(--font-size-2xs);
  background: var(--surface-overlay);
  color: var(--text-secondary);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-default);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-snug);
  white-space: nowrap;
  justify-self: start;
}

._statusPill_4txmt_1018 {
  display: inline-block;
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-default);
  font-size: var(--font-size-2xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
  justify-self: end;
}

._statusActive_4txmt_1030 {
  background: var(--surface-accent-secondary-tint);
  color: var(--text-accent-secondary);
}

._statusInvited_4txmt_1035 {
  background: var(--surface-accent-tint);
  color: var(--text-accent);
}

/* Disabled accounts read as muted neutral — present in the directory
 * but no longer active. Same intent as the old `.connectionMissing` we
 * removed when the Integrations card was replaced. */
._statusDisabled_4txmt_1043 {
  background: var(--surface-overlay);
  color: var(--text-tertiary);
}

/* "No role" — deliberately loud. At a 100-user org, every account
 * should have a role assigned; a missing role is an action item, not a
 * neutral state. Uses --status-urgent so it visually shouts the same
 * way the over-budget headroom bar does. */
._roleMissingPill_4txmt_1052 {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  font-size: var(--font-size-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  background: rgb(from var(--status-urgent) r g b / 0.15);
  color: var(--status-urgent);
  border: var(--border-hairline) solid rgb(from var(--status-urgent) r g b / 0.35);
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-default);
  white-space: nowrap;
  justify-self: start;
}

._roleMissingPill_4txmt_1052::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--status-urgent);
  color: var(--text-light);
  font-weight: var(--weight-bold);
  font-size: var(--font-size-2xs);
  line-height: var(--leading-none);
}

._userTableMessage_4txmt_1084 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(82px * 2 + 0.5rem);
  font-size: var(--font-size-sm);
  color: var(--text-tertiary);
  margin: 0;
  line-height: var(--leading-normal);
  text-align: center;
}

._userTableMessageError_4txmt_1096 {
  color: var(--status-urgent);
}

._activityList_4txmt_1100 {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

._activityItem_4txmt_1108 {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  padding: var(--space-xs) 0;
  border-bottom: var(--border-hairline) solid var(--section-border-faint);
  font-size: var(--font-size-sm);
}

._activityItem_4txmt_1108:last-child {
  border-bottom: none;
}

._activityWho_4txmt_1121 {
  color: var(--text-primary);
  font-weight: var(--weight-medium);
}

._activityWhat_4txmt_1126 {
  color: rgb(from var(--text-primary) r g b / 0.7);
}

._activityWhen_4txmt_1130 {
  font-size: var(--font-size-2xs);
  color: rgb(from var(--text-primary) r g b / 0.45);
  margin-top: var(--space-2xs);
}

._refreshStatus_4txmt_1136 {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  margin: 0;
  overflow-wrap: anywhere;
}

._refreshError_4txmt_1143 {
  color: var(--status-urgent);
}

._refreshHeadline_4txmt_1147 {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
  margin: 0;
  padding-bottom: var(--space-sm);
  min-width: 0;
}

._refreshHeadlineRow_4txmt_1156 {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

._refreshHeadlineLine_4txmt_1163 {
  font-size: var(--font-size-base);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-tight);
}

._refreshHeadlineSubLine_4txmt_1170 {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  overflow-wrap: anywhere;
}

._refreshHeadlineMeta_4txmt_1176 {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  overflow-wrap: anywhere;
}

._refreshHealthDot_4txmt_1182 {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex-shrink: 0;
}

._refreshHealthDotFresh_4txmt_1190 {
  background: var(--text-accent-secondary);
}

/* TOKEN GAP: Matches has no warning/amber. Indigo carries the
 * "operational accent / needs attention" semantic in the absence of
 * an amber token; flag for product call if a distinct stale tone is
 * needed. */
._refreshHealthDotStale_4txmt_1198 {
  background: var(--text-accent);
}

._refreshHealthDotOld_4txmt_1202 {
  background: var(--status-urgent);
}

._refreshDeltaChip_4txmt_1206 {
  font-family: var(--mono);
  font-size: var(--font-size-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-default);
  background: var(--surface-accent-secondary-tint);
  color: var(--text-accent-secondary);
}

._refreshDeltaChipNegative_4txmt_1217 {
  background: rgb(from var(--status-urgent) r g b / 0.14);
  color: var(--status-urgent);
}

._refreshSourceLine_4txmt_1222 {
  font-size: var(--font-size-2xs);
  color: var(--text-tertiary);
  margin: 0;
  padding-top: var(--space-xs);
  border-top: var(--border-hairline) solid var(--section-border-faint);
}

._refreshSourceLine_4txmt_1222 a {
  color: var(--text-accent-secondary);
  text-decoration: none;
}

._refreshSourceLine_4txmt_1222 a:hover {
  text-decoration: underline;
}

/* Timeline lives inside an `--surface-elevated` envelope (mirrors the
 * Matches `.missionCard` lifted-panel recipe and the User Management
 * `.userList`). Rows separated by `--section-line-faint`, the visible
 * hairline (`--section-border-faint` reads invisible per the Matches
 * comment). */
._refreshTimeline_4txmt_1244 {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface-elevated);
  border: var(--border-hairline) solid var(--section-border-faint);
  border-radius: var(--radius-default);
  overflow: hidden;
}

._refreshTimelineEntry_4txmt_1256 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  padding: var(--space-sm) var(--space-md);
  border-bottom: var(--border-hairline) solid var(--section-line-faint);
}

._refreshTimelineEntry_4txmt_1256:last-of-type {
  border-bottom: none;
}

._refreshTimelineCurrent_4txmt_1271 {
  font-family: var(--mono);
  font-size: var(--font-size-2xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-default);
  background: var(--surface-accent-secondary-tint);
  color: var(--text-accent-secondary);
  margin-left: var(--space-xs);
}

._triggerBadge_4txmt_1284 {
  display: inline-block;
  margin-left: var(--space-xs);
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-default);
  font-size: var(--font-size-2xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-snug);
  text-transform: uppercase;
  background: var(--surface-overlay);
  color: var(--text-tertiary);
}

._timelineMeta_4txmt_1297 {
  font-size: var(--font-size-2xs);
  color: var(--text-tertiary);
  margin-left: var(--space-2xs);
}

._refreshTimelineDelete_4txmt_1303 {
  appearance: none;
  background: transparent;
  border: none;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-default);
  color: var(--text-tertiary);
  font-size: var(--font-size-2xs);
  cursor: pointer;
  transition:
    background-color 120ms cubic-bezier(0.32, 0.72, 0, 1),
    color 120ms cubic-bezier(0.32, 0.72, 0, 1);
}

._refreshTimelineDelete_4txmt_1303:hover:not(:disabled) {
  background: rgb(from var(--status-urgent) r g b / 0.1);
  color: var(--status-urgent);
}

._refreshTimelineDelete_4txmt_1303:focus-visible {
  outline: var(--border-emphasis) solid var(--text-accent);
  outline-offset: var(--border-hairline);
}

._refreshTimelineDelete_4txmt_1303:disabled {
  cursor: not-allowed;
  opacity: 0.3;
}

._refreshTimelineDeleteArmed_4txmt_1336 {
  background: var(--status-urgent);
  color: var(--text-light);
}

._refreshTimelineDeleteArmed_4txmt_1336:hover:not(:disabled) {
  background: var(--status-urgent);
  color: var(--text-light);
}

._refreshTimelineVersion_4txmt_1346 {
  font-family: var(--mono);
  font-weight: var(--weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--tracking-wide);
}

._refreshTimelineCount_4txmt_1353 {
  color: var(--text-tertiary);
  min-width: 0;
  overflow-wrap: anywhere;
}

._refreshTimelineWhen_4txmt_1359 {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  text-align: right;
  white-space: nowrap;
}

._refreshTimelineEmpty_4txmt_1366 {
  font-size: var(--font-size-xs);
  color: var(--text-tertiary);
  font-style: italic;
  margin: 0;
}

/* Mobile timeline restack ============================================== */

/* The desktop 4-column grid (`auto 1fr auto auto` for version | count |
 * when | optional delete) collapses badly below ~720px once the
 * Settings sidebar moves into the drawer and the card lives in the
 * mobile viewport. Restructure to 2-column at ≤BP_COMPACT so version+
 * trigger badge sits top-left, timestamp top-right, and the full
 * "1,234 of 5,678 flyable (+12, ~3, −1)" line wraps onto its own
 * full-width row below — never crammed beside the timestamp. */
@media (max-width: 900px) /* BP_COMPACT */ {
  ._refreshTimelineEntry_4txmt_1256 {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: var(--space-2xs);
  }
  ._refreshTimelineVersion_4txmt_1346 {
    grid-column: 1;
    grid-row: 1;
  }
  ._refreshTimelineWhen_4txmt_1359 {
    grid-column: 2;
    grid-row: 1;
  }
  ._refreshTimelineCount_4txmt_1353 {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@keyframes _pageEnterFade_4txmt_1 {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes _pageEnterRise_4txmt_1 {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
