.hybrid-toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.sort-group {
  width: fit-content;
}

.toolbar-action-group {
  display: flex;
  justify-content: flex-start;
}

.compact-buttons .toggle-btn {
  padding: 7px 10px;
  font-size: 0.84rem;
}

.hybrid-pills {
  padding: 8px 0 6px;
  margin-bottom: 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.current-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.jump-pill {
  display: inline-flex;
  align-items: center;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

.jump-pill.present {
  background: var(--present) !important;
  color: #78d98a !important;
}

.jump-pill.sick {
  background: var(--sick) !important;
  color: #ffd96f !important;
}

.jump-pill.absent {
  background: var(--absent) !important;
  color: #ff8c86 !important;
}

.jump-pill.late {
  background: var(--late) !important;
  color: #7ec4ff !important;
}

.inline-guide {
  position: sticky;
  top: 8px;
  z-index: 4;
  padding: 14px;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
}

.inline-guide:empty {
  display: none;
}

.guided-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 16px;
  align-items: center;
}

.guided-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.guided-name {
  font-size: 1.55rem;
  font-weight: 700;
}

.scroll-roster {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
  margin-bottom: 14px;
  scroll-behavior: smooth;
}

#list-hybrid .roster-row {
  display: flex;
  flex-direction: column;
}

#list-hybrid .row-top {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 140px;
  gap: 10px;
  align-items: center;
}

.single-status-grid {
  display: flex;
  justify-content: flex-end;
}

.row-expanded {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

@media (max-width: 720px) {
  .hybrid-toolbar {
    justify-items: start;
  }

  .guided-panel {
    grid-template-columns: 1fr;
  }

  .stack-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
