@use '../../../../styles/components/number-badge' as badge;

:host {
  display: inline-flex;
  align-items: center;
  height: var(--header-button-size);
}

.focus-btn-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.focus-btn-anchor {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--header-button-size);
  width: var(--header-button-size);
  height: var(--header-button-size);
}

.focus-label {
  // Reuses the shared simple-counter badge so width grows with content
  // (no min-width). Wrapper stays at --header-button-size so the icon
  // never shifts when a session starts/stops.
  @include badge.number-badge;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

.focus-cycle {
  opacity: 0.7;
  margin-right: var(--s-half);
}
