.universal-toolbar {
  margin-top: 16px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #d9e2ef;
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.toolbar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.toolbar-title {
  font-size: 15px;
  font-weight: 800;
  color: #142033;
}

.toolbar-subtitle {
  margin-top: 3px;
  font-size: 12px;
  color: #667085;
}

.toolbar-context {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.toolbar-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.20);
  background: rgba(15, 118, 110, 0.10);
  color: #0f766e;
  font-size: 11px;
  font-weight: 700;
}

.toolbar-badge.muted {
  border-color: #d9e2ef;
  background: #f4f6f8;
  color: #667085;
}

.toolbar-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.toolbar-filters {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.toolbar-field {
  display: grid;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #667085;
}

.toolbar-field input,
.toolbar-field select {
  min-height: 34px;
  border: 1px solid #d9e2ef;
  border-radius: 10px;
  background: #ffffff;
  padding: 7px 10px;
  color: #142033;
  outline: none;
}

.finder-field input {
  width: min(360px, 38vw);
}

.toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.toolbar-btn {
  min-height: 34px;
  border: 1px solid #d9e2ef;
  border-radius: 999px;
  background: #ffffff;
  color: #142033;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: not-allowed;
  opacity: 0.72;
}

.toolbar-btn.primary {
  border-color: #0f766e;
  background: #0f766e;
  color: #ffffff;
}

.toolbar-note {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed #d9e2ef;
  color: #667085;
  font-size: 12px;
}

@media (max-width: 900px) {
  .toolbar-head,
  .toolbar-row {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-context,
  .toolbar-actions {
    justify-content: flex-start;
  }

  .finder-field input {
    width: 100%;
  }

  .toolbar-field {
    width: 100%;
  }
}
